stop() → {Phaser.Video}
Stops the video playing.
This removes all locally set signals.
If you only wish to pause playback of the video, to resume at a later time, use Video.paused = true
instead.
If the video hasn't finished downloading calling Video.stop
will not abort the download. To do that you need to
call Video.destroy
instead.
If you are using a video stream from a webcam then calling Stop will disconnect the MediaStream session and disable the webcam.
Returns
This Video object for method chaining.
- Source code: gameobjects/Video.js (Line 723)
Please login to continue.