Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 332 Bytes

stop.md

File metadata and controls

22 lines (15 loc) · 332 Bytes

stop

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();
};