Reputation: 31
I have inserted in my video tag the code to show the preview with an image but this is not shown and I cannot understand why.
This is the code:
<video preload="none" width="100%" height="100%" autobuffer="true" controls="true" poster="mypath">
<source src="mypath" type="video/mp4">
</video>
This is what appears to me inside mozila firefox:
I also tried on google chrome and the problem remains the same, what could be the problem?
Upvotes: 0
Views: 1347
Reputation: 144
Try this code and also working in Firefox:
<video width="100%" height="100%" autobuffer="true" controls="true" poster="https://www.w3schools.com/images/picture.jpg">
<source src="mypath" type="video/mp4">
</video>
Upvotes: 1