开发者

HTML 5 Audio Current Position

开发者 https://www.devze.com 2022-12-26 15:43 出处:网络
Using HTML 5 together with the DOM is there a way to get the current location that the user is in playing an audio file and also later on开发者_如何学Python go back to that position? See the HTMLMedia

Using HTML 5 together with the DOM is there a way to get the current location that the user is in playing an audio file and also later on开发者_如何学Python go back to that position?


See the HTMLMediaElement interface. element.currentTime should give you what you're looking for.

0

精彩评论

暂无评论...
验证码 换一张
取 消