fix embed player w/o in/out

This commit is contained in:
rolux 2013-02-12 13:02:42 +05:30
parent 8d6ae2f62d
commit 42463aeadf

View file

@ -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
} : {})) } : {}))