您可以尝试运行以下代码,以了解如何实现preload属性,以允许作者向浏览器提示以获取最佳用户体验。适用于<audio>和<video>标签-
<!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>