下面是我的示例HTML代码。
<audio class="wp-audio-shortcode" id="audio-1" preload="auto" controls="controls"><source type="audio/mpeg" src="http://www.soundoflondon.co.uk/wp-content/uploads/gravity_forms/11-5db5c404fce65459525fddea8d290bf9/2018/08/Firework-Katy-Perry-Acoustic-Reggae-Cover-by-Conkarah.mp3?_=4" /><a href="http://www.soundoflondon.co.uk/wp-content/uploads/gravity_forms/11-5db5c404fce65459525fddea8d290bf9/2018/08/Firework-Katy-Perry-Acoustic-Reggae-Cover-by-Conkarah.mp3">http://www.soundoflondon.co.uk/wp-content/uploads/gravity_forms/11-5db5c404fce65459525fddea8d290bf9/2018/08/Firework-Katy-Perry-Acoustic-Reggae-Cover-by-Conkarah.mp3</a></audio>
我想从0:15开始并结束到0:40,每次单击播放按钮时,它只会播放0:15到0:40的曲目。我尝试了在这里和其他来源找到的许多解决方案,但是找不到当前的代码。
先谢谢大家:)