Start a new topic

Video thumbnail or different cover image

Video thumbnail or different cover image


I have noticed that Wikitude studio allows to set Video thumbnail or Cover image. I am looking through Javascript documentation and cannot find how to achieve this with VideoDrawable. Can you advise me on how to add a different cover image to VideoDrawable?

Thank you very much!

Hello Sergey,

Studio-internally, the cover image is created as an ImageDrawable that is shown while the video is loading. Once the video is playing, the cover ImageDrawable is disabled, and the video is shown instead. You'd need to mimic this behavior in your JavaScript to have the same effect.



Martin, thank you very much for your response. It is very helpful!
Login or Signup to post a comment