stop
June 13, 2024 ยท View on GitHub
Description
Stop playback of the current content if one.
This will totaly un-load the current content. To re-start playing the same content, you
can either call the reload method or just call loadVideo again.
Syntax
player.stop();
Example
const stopVideo = () => {
player.stop();
};