diff --git a/static/js/embed/pandora.js b/static/js/embed/pandora.js index 79dc5758..26fe446c 100755 --- a/static/js/embed/pandora.js +++ b/static/js/embed/pandora.js @@ -77,7 +77,7 @@ Ox.load('UI', { videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats) }); var options = parseQuery(); - if (options.view == 'video') { + if (['video', 'player'].indexOf(options.view) > -1) { pandora.ui.info = pandora.clip(options) .css({width: '100%', height: '100%'}) .appendTo(document.body); diff --git a/static/js/pandora/embedDialog.js b/static/js/pandora/embedDialog.js index a4b781d8..0b2e6e91 100644 --- a/static/js/pandora/embedDialog.js +++ b/static/js/pandora/embedDialog.js @@ -32,7 +32,7 @@ pandora.ui.embedDialog = function(data) { } }); - data.view = 'video'; + data.view = 'player'; content.html('To embed this video use this code on your page:
'); content.append(