How to slow down a video in javascript?
Hi, is it possible to slow down a video in javascript? If so, how? Tell me please.
1
2 answers
Here is the code:
document.querySelector('video').playbackRate = 3.0;
The value 3.0
means that the video is accelerated by 3 times. By default, the video is played at normal speed, i.e. 1.0
.
To slow down the video by half 0.5
4
Author: Ruslan Melnychenko, 2018-03-24 17:34:33