源代碼
點擊運行
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>教程</title> </head> <body> <video width="320" height="240" controls> <source src="/images/demo.mp4" type="video/mp4"> <source src="/images/demo.ogg" type="video/ogg"> 你的瀏覽器不支持 video 標籤。 </video> </body> </html>
運行結果