mirror of
https://github.com/stashapp/stash.git
synced 2025-12-16 20:07:05 +03:00
trigger play count on player ended (#6334)
This commit is contained in:
@@ -44,6 +44,10 @@ class TrackActivityPlugin extends videojs.getPlugin("plugin") {
|
||||
player.on("dispose", () => {
|
||||
this.stop();
|
||||
});
|
||||
|
||||
player.on("ended", () => {
|
||||
this.stop();
|
||||
});
|
||||
}
|
||||
|
||||
private start() {
|
||||
|
||||
Reference in New Issue
Block a user