Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用video.js播放器播放我的 mp4 文件。播放器配置为autoplay=true,如果用户访问该站点,视频将在一秒钟后开始播放preload=auto。loop=true.但是视频播放时有很多“加载”暂停并继续播放……第二轮播放完美。似乎加载速度不够快,因为他从一开始就一直在加载。也许缓冲区大小/缓冲区时间太小了?!但是如何修改这些参数呢?还有其他可能的错误配置吗?有没有办法在开始剪辑之前预加载整个视频?
video.js
autoplay=true
preload=auto
loop=true.