[英]Why am I getting this error display for my video in Chrome?
When I run this code in Chrome:当我在 Chrome 中运行此代码时:
<html> <head><title>form</title> </head> <body> <video width="100" height="100" controls> <source src="G:\\Users\\tanmay\\Documents\\Apowersoft\\ApowerREC\\20180923_112116.mp4" type=video\\mp4> </video> </body> </html>
the following display is seen:显示如下:
As mentioned in the comments, your link format is wrong.如评论中所述,您的链接格式错误。
Add file:///
in front of your drive letter since not from web ( eg: is not http://
).在您的驱动器号前面添加file:///
因为不是来自网络(例如:不是http://
)。
Browsers use the Unix style /
for slashes, not the Microsoft/Windows \\
style.浏览器使用 Unix 风格的/
作为斜线,而不是 Microsoft/Windows \\
风格。
<html> <head><title>form</title> </head> <body> <video width="100" height="100" controls> <source src="file:///G:/Users/tanmay/Documents/Apowersoft/ApowerREC/20180923_112116.mp4" type=video/mp4> </video> </body> </html>
Try to use above code.Hope this will help you...尝试使用上面的代码。希望这会帮助你......
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.