Why does Internet Explorer say “Error: Video playback was aborted” for HTML5 video?

﹥>﹥吖頭↗ 提交于 2019-12-11 10:26:38

问题


I set up a very simple HTML5 video element on a page:

<video id="test" style="width: 100%; height: 600px;" class="center-block" controls preload="auto">
  <source src="training-video.mp4" type="video/mp4">
</video>

But when I navigate to the page with Internet Explorer, the space for the video says "Error: Video playback was aborted."

And when I go to the network tab in F12, Internet Explorer hasn't even bothered to ask the server for the video. What's going on?


回答1:


It turns out that video playback for the Internet zone was disabled in group policy by the domain gods. Accessing the same page with a simple hostname got the video to load in the Intranet zone and bypass the block.



来源:https://stackoverflow.com/questions/33925892/why-does-internet-explorer-say-error-video-playback-was-aborted-for-html5-vid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!