forked from 0x2620/pandora
subtitles is undefined
This commit is contained in:
parent
9befd5c4b2
commit
93964086ea
1 changed files with 1 additions and 1 deletions
|
@ -1769,7 +1769,7 @@ pandora.getVideoOptions = function(data) {
|
|||
options.subtitlesLayer
|
||||
? data.layers[options.subtitlesLayer].map(function(subtitle, i) {
|
||||
return {
|
||||
'in': i == 0 ? 0 : subtitles[i - 1].out,
|
||||
'in': i == 0 ? 0 : data.layers[options.subtitlesLayer][i - 1].out,
|
||||
out: subtitle['in']
|
||||
};
|
||||
}).concat(
|
||||
|
|
Loading…
Reference in a new issue