fix embed player w/o in/out
This commit is contained in:
parent
8d6ae2f62d
commit
42463aeadf
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,6 @@ Ox.load('UI', {
|
||||||
height: window.innerHeight,
|
height: window.innerHeight,
|
||||||
invertHighlight: true,
|
invertHighlight: true,
|
||||||
paused: options.paused,
|
paused: options.paused,
|
||||||
position: options['in'] || 0,
|
|
||||||
poster: '/' + options.item + '/' + '96p' + options['in'] +'.jpg',
|
poster: '/' + options.item + '/' + '96p' + options['in'] +'.jpg',
|
||||||
resolution: pandora.user.ui.videoResolution,
|
resolution: pandora.user.ui.videoResolution,
|
||||||
showMarkers: false,
|
showMarkers: false,
|
||||||
|
@ -52,7 +51,8 @@ Ox.load('UI', {
|
||||||
video: data.video,
|
video: data.video,
|
||||||
width: window.innerWidth
|
width: window.innerWidth
|
||||||
}, options['in'] ? {
|
}, options['in'] ? {
|
||||||
'in': options['in']
|
'in': options['in'],
|
||||||
|
position: options['in']
|
||||||
} : {}, options.out ? {
|
} : {}, options.out ? {
|
||||||
out: options.out
|
out: options.out
|
||||||
} : {}))
|
} : {}))
|
||||||
|
|
Loading…
Reference in a new issue