Can js intercept the video length of video tags?

the video implemented by html5 video is introduced, and the video length is 30s. Can I intercept and play the video for 10 to 30s through js?


take a look at this article segmented playback should be useful to you


there are exposed attributes to set the start time of playback
as for the end time, you can get the current playback time by monitoring playback

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8fb59-47040.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8fb59-47040.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?