I have a HTML5 video element in my page. The video I want to play is having a duration of 10 minutes.
I have to play the part of the video from minute 1 to minute 5.
I can start it from a particular time by setting its currentTime
property.
But how can I stop the video at a particular time jQuery or JavaScript?