如何在android中设置html5视频速度 [英] how to set html5 video speed in android
问题描述
我应该在android中设置视频速度. 但是播放率,默认播放率不起作用.
I should set video speed in android. But playbackrate,defaultplaybackrate is not working.
我该怎么办?
var video = document.getElementById('myVideo');
video.defaultPlaybackRate = 2.0;
video.play();
video.playbackRate = p_Speed;
- 科尔多瓦3.5
- android 4.2.2
推荐答案
看起来似乎还没有这个问题的答案.我还尝试了人行横道,因为它可以让您有机会体验更完整的库,并且它是用铬制成的,但是很遗憾,
Doesn't look like there is an answer to this issue yet. I also tried crosswalk since it allowed the opportunity to experience a fuller library and was built with chromium but unfortunately, https://software.intel.com/en-us/forums/intel-xdk/topic/543325 - this does not seem to have a correction in there as well, I tested against crosswalk 1.3.0
据我所知,唯一的答案就是拍摄视频,使用ffmpeg(或类似工具)并创建一个模拟iframe来模拟您想要的速度.
As far as I could tell, the only answer is to take the video, use ffmpeg(or something similar) and create a iframes simulating the speed you want.
这篇关于如何在android中设置html5视频速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!