在Chrome中找不到video.js播放器(Seeking in video.js player not possible in Chrome)

编程入门 行业动态 更新时间:2024-10-25 09:38:32
在Chrome中找不到video.js播放器(Seeking in video.js player not possible in Chrome)

我曾经遇到过这个问题几次:在chrome.js播放器中寻找视频可以在任何浏览器中使用,除了chrome。 这意味着,单击进度条不会更改视频的当前位置。

I ran into this problem a couple of times: Seeking through videos within the video.js player is possible in any browser except chrome. That means, clicking on the progress bar won't change the current position of the video.

最满意答案

在我的情况下,问题是服务器提供HTTP状态代码OK (200)的视频。 相反,它应该返回Partial Content (206) 。

检查,如果服务器有问题,嵌入测试视频,如在videojs.com上的在线示例,即从http://video-js.zencoder.com/oceans-clip.mp4加载迪士尼视频,而不是你的自己的服务器

In my case the problem was the server delivering the video with the HTTP status Code OK (200). Instead, it should return Partial Content (206).

to check, if the server is the problem, embed the test video as in the online example on videojs.com, i.e. load the Disney video from http://video-js.zencoder.com/oceans-clip.mp4 instead of your own server.

更多推荐

chrome,js,视频,video,电脑培训,计算机培训,IT培训"/> <meta name="descriptio

本文发布于:2023-08-04 11:33:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1414060.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:播放器   中找   video   Chrome   player

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!