In a webpage I'm using the audio tag to play a sound file from a remote server. <audio controls autoplay><source src="https://www. ........ .mp3" type="audio/mpeg"></audio>
But in some cases I don't want to play the whole of the remote file, just a part of it. If the audio tag had start and end attributes, and the controls showed the data relevant to the chosen section, that would be perfect, but it seems it isn't possible.
What would be the best way to go about this?
It would be easy to capture the sound file and extract the bit I want to a local file, but I think the copyright will not allow this.
But in some cases I don't want to play the whole of the remote file, just a part of it. If the audio tag had start and end attributes, and the controls showed the data relevant to the chosen section, that would be perfect, but it seems it isn't possible.
What would be the best way to go about this?
It would be easy to capture the sound file and extract the bit I want to a local file, but I think the copyright will not allow this.