forked from 0x2620/pandora
subtitles need id for selection
This commit is contained in:
parent
8530fa6f66
commit
8cd9e1f813
1 changed files with 1 additions and 1 deletions
|
@ -795,7 +795,7 @@ pandora.getVideoOptions = function(data) {
|
|||
options = {},
|
||||
subtitlesLayer = Ox.getObject(pandora.site.layers, 'isSubtitle', true);
|
||||
options.subtitles = subtitlesLayer ? data.layers[subtitlesLayer.id].map(function(subtitle) {
|
||||
return {'in': subtitle['in'], out: subtitle.out, text: subtitle.value};
|
||||
return {id: subtitle.id, 'in': subtitle['in'], out: subtitle.out, text: subtitle.value};
|
||||
}) : [];
|
||||
options.censored = canPlayVideo ? []
|
||||
: canPlayClips ? (
|
||||
|
|
Loading…
Reference in a new issue