Posts marked with "playback" in tags

Stop playback in HTML5 audio using Javascript

You may wanted to stop playback of an audio playing via audio HTML5 tag. Here is the code : document.getElementById(‘audio’).currentTime = 0;//By ID document.getElementsByTagName(‘audio’).currentTime = 0;//By Tag It’s that simple. Just use currentTime = 0.

[READ MORE]

Donate

If you found something helpful, please consider a donation to support this site and projects :)

Donate

Subdomains

DemosLab

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab