update embed panel
This commit is contained in:
parent
f227766eac
commit
110078ec9a
1 changed files with 7 additions and 2 deletions
|
@ -128,16 +128,21 @@ pandora.ui.embedPanel = function() {
|
||||||
$controls = Ox.Element();
|
$controls = Ox.Element();
|
||||||
|
|
||||||
if (options.showTimeline) {
|
if (options.showTimeline) {
|
||||||
$timeline = Ox.LargeVideoTimeline({
|
$timeline = Ox.LargeVideoTimeline(Ox.extend({
|
||||||
duration: video.duration,
|
duration: video.duration,
|
||||||
getImageURL: function(type, i) {
|
getImageURL: function(type, i) {
|
||||||
return '/' + ui.item + '/timeline' + type + '64p' + i + '.jpg';
|
return '/' + ui.item + '/timeline' + type + '64p' + i + '.jpg';
|
||||||
},
|
},
|
||||||
position: options.position,
|
position: options.position,
|
||||||
|
showInToOut: options.playInToOut,
|
||||||
subtitles: ui.videoSubtitles ? video.subtitles : [],
|
subtitles: ui.videoSubtitles ? video.subtitles : [],
|
||||||
type: ui.videoTimeline,
|
type: ui.videoTimeline,
|
||||||
width: window.innerWidth - 16
|
width: window.innerWidth - 16
|
||||||
})
|
}, options['in'] ? {
|
||||||
|
'in': options['in']
|
||||||
|
} : {}, options.out ? {
|
||||||
|
out: options.out
|
||||||
|
} : {}))
|
||||||
.css({
|
.css({
|
||||||
top: '4px',
|
top: '4px',
|
||||||
left: '4px'
|
left: '4px'
|
||||||
|
|
Loading…
Reference in a new issue