<video>标记用于将视频剪辑嵌入到Web浏览器(如电影剪辑或者其他视频流)。
在tml 5 <video>标记示例
<html> <head></head> <body style="font-family: Verdana; font-size: 22"> <div > <div align="center"> <video id="vdplayer" src="/C:\lanyueliang.ogv" controls="true" height="300px"> </video> <br> <button onclick="document.getElementById('vdplayer').play()">Play</button> <button onclick="document.getElementById('vdplayer').pause()">Pause</button> <button onclick="document.getElementById('vdplayer').volume += 0.1"> High Vol</button> <button onclick="document.getElementById('vdplayer').volume -= 0.1"> Low Vol </button> </div> </div> </body> </html>
日期:2020-04-11 23:04:19 来源:oir作者:oir