forked from 0x2620/pandora
fix subtitles in player view
This commit is contained in:
parent
873ec27803
commit
97c8cf67b9
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
pandora.ui.player = function(data) {
|
pandora.ui.player = function(data) {
|
||||||
|
// FIXME: is this the right location to load subtitles?
|
||||||
|
if (!data.subtitles) {
|
||||||
|
data.subtitles = pandora.getSubtitles(data);
|
||||||
|
}
|
||||||
|
|
||||||
var ui = pandora.user.ui,
|
var ui = pandora.user.ui,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue