Hide poster image in video

video

(jump) #1

Hi, I need to hide the poster image (or change that) in a video in Hype 3… can I do it? How? Thank you ! Luca


#2

This would require adding an image to your resource library, and then referencing it with a standard property tag:

<video poster="${resourcesFolderName}/posterimage.png" controls="controls">
       <source src="${resourcesFolderName}/testmovie.ogg" type="video/ogg; codecs=&quot;theora,vorbis&quot;"/>
       <source src="${resourcesFolderName}/testmovie.mp4" type="video/mp4"/>
</video>

(jump) #3

Thanks. But is there a way to hide the poster image?

I need to have a video reload in loop in a smooth way and right now it first shows the poster image and then starts over.


#4

You could use a transparent PNG or GIF image for your posterimage.png file – that would essentially be invisible.