I am using html5 video. In FireFox it is running well but in chrome and safari, it is showing a thick black bar top and bottom. How to get rid of this bars?
the code,
<video autoplay loop="loop" onended="this.play()" width="100%">
<source src="videos/video.mp4" type="video/mp4"/>
<source src="videos/video.webm" type="video/webm" />
</video>
Thanks in advance
Take a look at the dimensions and/or CSS of the tag containing your video tag. That will probably be a div. I had one with height:100%. Once i removed it, it solved the problem.
Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With