diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index 02520328..21fd997c 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -793,7 +793,7 @@ pandora.getVideoOptions = function(data) { var canPlayClips = data.editable || pandora.site.capabilities.canPlayClips[pandora.user.level] >= data.rightslevel, canPlayVideo = data.editable || pandora.site.capabilities.canPlayVideo[pandora.user.level] >= data.rightslevel, options = {}, - subtitlesLayer = Ox.getObject(pandora.site.layers, isSubtitle, true); + subtitlesLayer = Ox.getObject(pandora.site.layers, 'isSubtitle', true); options.subtitles = subtitlesLayer ? data.layers[subtitlesLayer].items.map(function(subtitle) { return {'in': subtitle['in'], out: subtitle.out, text: subtitle.value}; }) : [];