no need for poster, fix loading icon
This commit is contained in:
parent
a426f22e1e
commit
3a09834ee5
1 changed files with 5 additions and 7 deletions
|
|
@ -118,15 +118,10 @@ pandora.ui.previewPlayer = function() {
|
||||||
enableVolume: true,
|
enableVolume: true,
|
||||||
height: size.height,
|
height: size.height,
|
||||||
muted: ui.videoMuted,
|
muted: ui.videoMuted,
|
||||||
paused: options.paused,
|
paused: false,
|
||||||
loop: false,
|
loop: false,
|
||||||
playInToOut: false,
|
playInToOut: false,
|
||||||
position: options.position,
|
position: options.position,
|
||||||
poster: pandora.getMediaURL('/' + options.item + '/' + '96p' + (
|
|
||||||
options.position !== void 0 ? options.position
|
|
||||||
: options['in'] !== void 0 ? options['in']
|
|
||||||
: video.posterFrame
|
|
||||||
) +'.jpg'),
|
|
||||||
resolution: ui.videoResolution,
|
resolution: ui.videoResolution,
|
||||||
scaleToFill: ui.videoScale == 'fill',
|
scaleToFill: ui.videoScale == 'fill',
|
||||||
showIconOnLoad: true,
|
showIconOnLoad: true,
|
||||||
|
|
@ -156,16 +151,19 @@ pandora.ui.previewPlayer = function() {
|
||||||
pandora.openURL(url);
|
pandora.openURL(url);
|
||||||
},
|
},
|
||||||
playing: function(data) {
|
playing: function(data) {
|
||||||
|
/*
|
||||||
pandora.UI.set(
|
pandora.UI.set(
|
||||||
'videoPoints.' + item.id + '.position',
|
'videoPoints.' + item.id + '.position',
|
||||||
data.position
|
data.position
|
||||||
);
|
);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
that.options({content: $player});
|
that.options({content: $player});
|
||||||
|
|
||||||
});
|
});
|
||||||
that.options({
|
that.options({
|
||||||
content: Ox.LoadingScreen(),
|
content: Ox.LoadingScreen().start(),
|
||||||
title: title,
|
title: title,
|
||||||
})
|
})
|
||||||
.setSize(size.width, size.height);
|
.setSize(size.width, size.height);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue