no need for poster, fix loading icon

This commit is contained in:
j 2026-01-13 19:24:15 +00:00
commit 3a09834ee5

View file

@ -118,15 +118,10 @@ pandora.ui.previewPlayer = function() {
enableVolume: true,
height: size.height,
muted: ui.videoMuted,
paused: options.paused,
paused: false,
loop: false,
playInToOut: false,
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,
scaleToFill: ui.videoScale == 'fill',
showIconOnLoad: true,
@ -156,16 +151,19 @@ pandora.ui.previewPlayer = function() {
pandora.openURL(url);
},
playing: function(data) {
/*
pandora.UI.set(
'videoPoints.' + item.id + '.position',
data.position
);
*/
}
});
that.options({content: $player});
});
that.options({
content: Ox.LoadingScreen(),
content: Ox.LoadingScreen().start(),
title: title,
})
.setSize(size.width, size.height);