Reference stop()

stop()

Stops a media element and sets its current time to 0.

Calling media.play() will restart playing audio/video from the beginning.

Examples

Syntax

stop()

Parameters


Related References