<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>视频播放器</title>
<link rel="stylesheet" type="text/css" href="css/video.css" />
</head>
<body >
<video id="myVideo" width="630">
<!--判断是否支持其播放器-->
<source src="video/myVideo.ogg" type="video/ogg"/>
<source src="video/myVideo.webm" type="video/webm"/>
<source src="video/myVideo.mp4" type="video/mp4"/>
您的浏览器不支持video标签
</video>
<br />
<button id="playPause" onclick="playPause();">播放</button>
<button onclick="goBack(5);">快进5秒</button>
<button onclick="goBack(-5);">快退5秒</button>
<button onclick="volume
项目6-1视频播放器
最新推荐文章于 2022-05-07 19:58:02 发布