update embed panel
This commit is contained in:
parent
97a18cc747
commit
116d37d297
1 changed files with 6 additions and 2 deletions
|
@ -41,7 +41,7 @@ pandora.ui.embedPanel = function() {
|
|||
censoredIcon: pandora.site.cantPlay.icon,
|
||||
censoredTooltip: pandora.site.cantPlay.text,
|
||||
controlsBottom: ['play', 'volume', 'scale'].concat(
|
||||
Ox.Fullscreen.available ? ['fullscreen'] : []
|
||||
Ox.Fullscreen.available && options.showCloseButton ? ['fullscreen'] : []
|
||||
).concat(
|
||||
['timeline', 'position', 'settings']
|
||||
),
|
||||
|
@ -49,7 +49,11 @@ pandora.ui.embedPanel = function() {
|
|||
close: 'Close',
|
||||
open: 'Watch on ' + pandora.site.site.name
|
||||
},
|
||||
controlsTop: (options.showCloseButton ? ['close'] : []).concat(
|
||||
controlsTop: [
|
||||
options.showCloseButton ? 'close'
|
||||
: Ox.Fullscreen.available ? 'fullscreen'
|
||||
: 'space16'
|
||||
].concat(
|
||||
['title', 'open']
|
||||
),
|
||||
duration: video.duration,
|
||||
|
|
Loading…
Reference in a new issue