html5 autoplay video in Desktop, Mobile device and Tablet

Html5 video support in mobile device, in android, desktop, autoplay for when load page and 2. loop for repeat play 3. muted for mobile supported in chrome version more than 53 4. playsinline support iphone  and 5. poster image for default show when browser unsupport   add this code in your site only
Video code



<video width="100%" height="100%" poster="img/nilkath.jpg" playsinline autoplay loop muted>
  <source src="img/Inspirational.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>


please watch video how it works also

No comments:

Post a Comment

how to call ssh from vs code

 To call SSH from VS Code, you can use the built-in Remote Development extension. This extension allows you to open a remote folder or works...