-1

My site http://www.kreativekouples.com/videography/ Has a load of videos that are hosted on pCloud but when showcasing on my website it looks odd as they are all black previews. Can I upload a thumnail photo like YouTube allows on their videos?

<video width="100%" controls>
  <source src="https://filedn.com/lhwRBSoh6FuH95L1pyyOOz4/kir_manni_wedd.mp4" type="video/mp4"> 
  <source src="https://filedn.com/lhwRBSoh6FuH95L1pyyOOz4/kir_manni_wedd.mp4" type="video/ogg">
  Your browser does not support HTML5 video. 
</video>
Jakub Muda
  • 6,008
  • 10
  • 37
  • 56
Bini
  • 33
  • 1
  • 3
  • Possible duplicate of [How to set the thumbnail image on HTML5 video?](https://stackoverflow.com/questions/20075875/how-to-set-the-thumbnail-image-on-html5-video) – EGC Nov 06 '19 at 21:04
  • Yeah, just add the attribute `poster="/path/to/your/image.jpg"` in the ` – Iskandar Reza Nov 06 '19 at 21:04
  • Not a duplicate but same request. thanks for input – Bini Nov 08 '19 at 08:45

1 Answers1

0

Add poster="{photo-url example (placeholder.png)}" to the video tag.

<video width="100%" poster="placeholder.png" controls>

Your browser does not support HTML5 video.