Toggle navigation
☰
HTML
CSS
Scripting
Database
<!DOCTYPE html> <html> <head> <title>Autoplay Video Example</title> </head> <body> <h2>Autoplay Video with Muted Attribute</h2> <p>The video below should start playing automatically because it has the <code>autoplay</code> attribute, and it is muted.</p> <video src="/video/netflix_sample_db.mp4" width="480" height="270" autoplay muted loop playsinline controls> <p>Your browser does not support the HTML5 video element.</p> </video> <p>Note that if we removed the <code>muted</code> attribute, most browsers would block the autoplay.</p> </body> </html>