Back
Syntax
Study
Editor
Mode:
HTML
CSS
JavaScript
PHP
Reset
Run ยป
HTML / CSS / JS
<!DOCTYPE html> <html> <head><title>HTML Video</title></head> <body style="padding: 20px; font-family: Arial;"> <h2>Video Player Demo</h2> <video controls width="480" poster="https://picsum.photos/480/270" style="border-radius: 8px;"> <source src="video.mp4" type="video/mp4"> Your browser does not support video. </video> <p><em>The poster image shows until play is pressed.</em></p> </body> </html>
Result
Open