<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>無標題文件</title>
</head>
<body>
<script language="javascript">
function Control(x){
if(x=='start'){
document.getElementById("MovieShow").play();
}else if(x=='stop'){
document.getElementById("MovieShow").pause();
}}
</script>
<video id="MovieShow" width="720" height="540" loop >
<source src="0/images/0003A_x264.mp4" type="video/mp4">
</video>
<br><br>
<input type="button" value="開始播放" onclick="Control('start');">
<input type="button" value="暫停播放" onclick="Control('stop');">
</body>
</html>
沒有留言:
張貼留言