reset

public void reset()

Ends the current playback session, clearing the video source.

Stops playback and resets the player state such that it cannot be resumed with a play command (e.g., setting playback speed to 1.0). To start playback again, the user must call loadVideoSource with a new source. This differs from a pause, which allows resumption from the current position.

Example usage:

player.loadVideoSource("http://example.com/video.mp4", null);
player.reset(); // Stops and clears playback
// player.setPlaybackSpeed(1.0f); // Won't resume, source is cleared
player.loadVideoSource("http://newvideo.com/video.mp4", null); // Must reload source