
你可以尝试运行以下代码来学习如何实现preload属性,以便作者可以给浏览器提供最佳用户体验的提示。适用于
示例
<!DOCTYPE HTML>
<html>
<body>
<video width="300" height = "200" preload = "none" controls>
<source src = "/html5/foo.ogg" type = "video/ogg" />
<source src = "/html5/foo.mp4" type = "video/mp4" />
Your browser does not support the video element.
</video>
</body>
</html>

