forked from 0x2620/pandora
censored empty subtitles
This commit is contained in:
parent
f97acf8e2f
commit
9b8a9b4ebe
1 changed files with 1 additions and 1 deletions
|
@ -1766,7 +1766,7 @@ pandora.getVideoOptions = function(data) {
|
||||||
|
|
||||||
options.censored = canPlayVideo ? []
|
options.censored = canPlayVideo ? []
|
||||||
: canPlayClips ? (
|
: canPlayClips ? (
|
||||||
options.subtitlesLayer
|
options.subtitlesLayer && data.layers[options.subtitlesLayer].length
|
||||||
? data.layers[options.subtitlesLayer].map(function(subtitle, i) {
|
? data.layers[options.subtitlesLayer].map(function(subtitle, i) {
|
||||||
return {
|
return {
|
||||||
'in': i == 0 ? 0 : data.layers[options.subtitlesLayer][i - 1].out,
|
'in': i == 0 ? 0 : data.layers[options.subtitlesLayer][i - 1].out,
|
||||||
|
|
Loading…
Reference in a new issue