default embed mode should be player

This commit is contained in:
j 2012-06-25 16:49:39 +02:00
commit cb6100020e
2 changed files with 2 additions and 2 deletions

View file

@ -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);