forked from 0x2620/pandora
default embed mode should be player
This commit is contained in:
parent
c5ddaec094
commit
cb6100020e
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue