Looking for ?

Translate

Solution On How To Hide Video play button in HTML

 Many time we are working with video in our HTML project, we might want to hide the PLAY BUTTON for our personal reasons. It is normally hard to be hidden in Mozilla Firefox even after so many CSS we have added. 




 SOLUTION

We can hide the controls by not adding the CONTROL ATTRIBUTE to the video element.

e.g

 <video autoplay loop muted width="400" height="200">

 <source src="videos/robot.mp4" type="video/mp4">

  Your browser does not support the video tag.

</video>


SHARE THIS POST

About Wakabia

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment