You are not logged in.

hridaya

Beginner

  • "hridaya" started this thread

Posts: 8

Location: Nepal

Occupation: Software Developer

  • Send private message

1

Monday, September 26th 2016, 8:40pm

How to show the poster image untill click the play button

Hello,

Is it possible, to show the preview image, until click the play button?



Thank you

2

Friday, September 30th 2016, 1:05pm

Hi,

the poster would be shown by default,

but if the video itself would be loaded too depends on the browser and the 'html5preload' setting:
http://krpano.com/plugins/videoplayer/#html5preload

E.g. try using html5preload=metadata or html5preload=none to avoid any video loading until calling play.

Best regards,
Klaus

hridaya

Beginner

  • "hridaya" started this thread

Posts: 8

Location: Nepal

Occupation: Software Developer

  • Send private message

3

Friday, September 30th 2016, 6:24pm

I tried by adding html5preload="none"

Source code

1
<plugin name="video"		       url.flash="%SWFPATH%/plugins/videoplayer.swf"			url.html5="%SWFPATH%/plugins/videoplayer.js"		        pausedonstart="true"		        loop="true"		        volume="1.0"		        html5preload="none"		       			onclick="togglepause();"		        onloaded="add_video_sources();"		        />



but the poster image not remain on the player it shows for a very short time and loads the video.

I need poster image there until i click the play icon.



Thank you

4

Wednesday, January 4th 2017, 2:36pm

Hi,
I also have the same problem. I've tried html5preload="metadata", and the poster image is visible only for a very short time.
As an aside, if I set html5preload="none", there is still a network request in the network console in Chrome, exactly similar to "metadata".
Thanks