I would like a create a webpage like explained in this question: How to play specific start and end duration in HTML5 audio? My question is how to create such table and the necessary ajax to play audio with specific start and end duration. Thank you.
Asked
Active
Viewed 317 times
-2
-
1Please post a specific question rather than an assignment. Make an attempt and come back when you get stuck with a particular thing. – blackandorangecat Jun 05 '17 at 02:40
1 Answers
0
You can use Media Fragments URI to play specific time ranges of media resource
<label>Play first 30 seconds of audio</label><br><audio controls src="https://upload.wikimedia.org/wikipedia/commons/b/be/Hidden_Tribe_-_Didgeridoo_1_Live.ogg#t=0,30"></audio><br><br>
<label>Play from 30 to 50 seconds of audio</label><br><audio controls src="https://upload.wikimedia.org/wikipedia/commons/b/be/Hidden_Tribe_-_Didgeridoo_1_Live.ogg#t=30,50"></audio>

guest271314
- 1
- 15
- 104
- 177