diff --git a/static/js/player.js b/static/js/player.js index aaeb1a4d..01904e17 100644 --- a/static/js/player.js +++ b/static/js/player.js @@ -1,6 +1,10 @@ 'use strict'; 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,