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,
|
censoredIcon: pandora.site.cantPlay.icon,
|
||||||
censoredTooltip: pandora.site.cantPlay.text,
|
censoredTooltip: pandora.site.cantPlay.text,
|
||||||
controlsBottom: ['play', 'volume', 'scale'].concat(
|
controlsBottom: ['play', 'volume', 'scale'].concat(
|
||||||
Ox.Fullscreen.available ? ['fullscreen'] : []
|
Ox.Fullscreen.available && options.showCloseButton ? ['fullscreen'] : []
|
||||||
).concat(
|
).concat(
|
||||||
['timeline', 'position', 'settings']
|
['timeline', 'position', 'settings']
|
||||||
),
|
),
|
||||||
|
@ -49,7 +49,11 @@ pandora.ui.embedPanel = function() {
|
||||||
close: 'Close',
|
close: 'Close',
|
||||||
open: 'Watch on ' + pandora.site.site.name
|
open: 'Watch on ' + pandora.site.site.name
|
||||||
},
|
},
|
||||||
controlsTop: (options.showCloseButton ? ['close'] : []).concat(
|
controlsTop: [
|
||||||
|
options.showCloseButton ? 'close'
|
||||||
|
: Ox.Fullscreen.available ? 'fullscreen'
|
||||||
|
: 'space16'
|
||||||
|
].concat(
|
||||||
['title', 'open']
|
['title', 'open']
|
||||||
),
|
),
|
||||||
duration: video.duration,
|
duration: video.duration,
|
||||||
|
|
Loading…
Reference in a new issue