diff --git a/ui/v2.5/src/components/ScenePlayer/track-activity.ts b/ui/v2.5/src/components/ScenePlayer/track-activity.ts index a3846dc87..4e7c1ce76 100644 --- a/ui/v2.5/src/components/ScenePlayer/track-activity.ts +++ b/ui/v2.5/src/components/ScenePlayer/track-activity.ts @@ -44,6 +44,10 @@ class TrackActivityPlugin extends videojs.getPlugin("plugin") { player.on("dispose", () => { this.stop(); }); + + player.on("ended", () => { + this.stop(); + }); } private start() {