使用video.js更改视频播放速度 [英] Change the video playback speed using video.js
本文介绍了使用video.js更改视频播放速度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有任何现有的插件可以使用video.js播放器更改视频的播放速率?如果没有,我该如何为其添加新插件和新控制按钮?
Is there any existing plugin to change the playback rate of a video using the video.js player? If not, how can I add the new plugin and the new control button for the same?
谢谢.
推荐答案
我遇到了同样的问题.我刚刚发现:
I've the same issue. I just found that:
videojs('my-player', {
playbackRates: [0.5, 1, 1.5, 2]
});
请参见 videojs文档
这篇关于使用video.js更改视频播放速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文