MCPcopy Create free account
hub / github.com/SpringRoll/SpringRoll / stop

Method stop

src/localization/captions/CaptionPlayer.js:74–81  ·  view source on GitHub ↗

* Stops any caption currently playing. * @memberof CaptionPlayer

()

Source from the content-addressed store, hash-verified

72 * @memberof CaptionPlayer
73 */
74 stop() {
75 if (this.activeCaption) {
76 if (this.renderer.stop) {
77 this.renderer.stop();
78 }
79 }
80 this.activeCaption = null;
81 }
82}

Callers 2

updateMethod · 0.95
startMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected