javascript - Show the paused frame in the Android HTML5 player -
i'm creating video player in html5 , javascript in 1 has step through frames paused @ accuracy of 100ms. use video time display specific frames. player works on computer , ipad-mini. on android when use line:
video.currenttime = x
the html5 android player moves video, not show frame content. content shows when video plays! me this?
test on computer , android tablet/phone paused video: http://codepen.io/kvbyte/pen/wgxeym
<video id="video" controls="" preload="auto"> <source src="https://media.w3.org/2010/05/sintel/trailer.mp4" type='video/mp4; codecs="avc1.42e01e, mp4a.40.2"' /> <p>your user agent not support html5 video element.</p> </video> <br /> <button onclick="document.getelementbyid('video').currenttime-=3">currenttime-=3s</button> <button onclick="document.getelementbyid('video').currenttime+=3">currenttime+=3s</button>
in android, moves video not display content!
Comments
Post a Comment