Control start position and duration of play in HTML5 video

前端 未结 4 1113
悲&欢浪女
悲&欢浪女 2021-01-05 01:37

We have a video (13 minutes long) which we would like to control using HTML5. We want to be able to let our users control and select the parts of the video they want to pla

4条回答
  •  长发绾君心
    2021-01-05 02:07

    If you are able to set start time and end time of video while setting the video url. you can specify the start and end time in the url itself like

    src="future technology_n.mp4#t=20,50"
    

    it will play from 20th second to 50th second.

提交回复
热议问题