fix subtitles in player view

This commit is contained in:
j 2023-02-14 10:37:55 +01:00
parent 873ec27803
commit 97c8cf67b9

View file

@ -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,