Embed video from own server (poster code)
Posted: Sun May 23, 2021 6:30 pm
Hello. On my webpage added html code for video, who is on my own server, beacuse it's too big to go to the server where the website is hosted. Everything is OK, but in the preview, the video is black. I would like to add a feature Poster (a preview thumbnail image for video).
For now, my code for embed video is that:
<iframe width="560" height="315"
src="http://my IP address/server/virtualni-zur-originalnih-makovcev-10-04-2021.mp4"
title=""
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
(This code copied from YT, but pefectly worked).
For now, my code for embed video is that:
<iframe width="560" height="315"
src="http://my IP address/server/virtualni-zur-originalnih-makovcev-10-04-2021.mp4"
title=""
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
(This code copied from YT, but pefectly worked).