default embed mode should be player

This commit is contained in:
j 2012-06-25 16:49:39 +02:00
parent c5ddaec094
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);

View file

@ -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:<br>');
content.append(