Using the "playbackRate" attribute of video
It can only play forward fast forward
PHP中文网2017-05-16 13:30:59
playbackRate is to set the rewind speed. After you stop the execution, it will play normally.
But judging from your request, it seems that all video sources are required to be played backwards. It is estimated that you need to transcode the video source and play it normally.
伊谢尔伦2017-05-16 13:30:59
I think you can roughly achieve it by setting currentTime. Besides, the function of reverse playback is anti-human, so it would be great if it can be implemented.
PHP中文网2017-05-16 13:30:59
It is implemented directly on HTML5, but I have never seen it before;
It is estimated that it can be done by inverting the video data on the backend and then sending it back to the frontend.