更新时间:2023-09-22 08:14:16
您尝试这种方式吗?
<!DOCTYPE html>
<html>
<body>
<h2>Click the Link to Play the Object</h2>
<a href="http://www.w3schools.com/html/intro.swf" target="_blank">Play a video file</a>
</body>
</html>
或者您可以使用以下代码创建空白页:
Or you can create a blank page with following code:
<!DOCTYPE html>
<html>
<body>
<video width="90%" height="90%" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
</body>
</html>
然后链接到该页面:
<a href="video_page" target_="blank">See the video</a>