简体   繁体   English

为什么我在 Chrome 中为我的视频显示此错误?

[英]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.

相关问题 为什么我在申请时会收到 Chrome 错误<meta>为了响应? - Why am I getting a Chrome error when applying <meta> for responsiveness? 为什么我的 SQL 语法错误为未定义索引 - why i am getting an error in my SQL syntax as undefined index 使用输入标签在 chrome android 中显示我的页面时,为什么会出现不同的字体大小 - Why am I getting different font sizes when displaying my page in chrome android using input tag 当我运行jsp页面时,没有显示图像。为什么? - I am not getting the display of images when i run my jsp page.why? 如何在我的HTML中运行Windows Media Player视频,但出现错误代码? - how to run windows media player video in my html i am getting error Code attached? 为什么我收到此错误消息:(空属性) - Why am i getting this error message am getting: (property of null) 为什么我在使用 videojs 时将 NaN 作为视频持续时间 - Why am I getting NaN as video duration while using videojs 为什么我的keydown()出现此错误? - Why am I getting this error for the keydown()? /search/ 处的 MultiValueDictKeyError,为什么会出现此错误? - MultiValueDictKeyError at /search/, Why am I getting this error? 为什么会出现“jQCloud 不是函数”错误? - Why am I getting "jQCloud is not a function" error?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM