Stops a media element and sets its current time to 0.
Calling media.play()
will restart playing audio/video from the beginning.
Examples
Notice any errors or typos? Please let us know. Please feel free to edit src/dom/dom.js and open a pull request!