mirror of
https://github.com/stashapp/stash.git
synced 2025-12-10 10:13:54 -06:00
trigger play count on player ended (#6334)
This commit is contained in:
parent
88747b962a
commit
7e66ce8a49
@ -44,6 +44,10 @@ class TrackActivityPlugin extends videojs.getPlugin("plugin") {
|
||||
player.on("dispose", () => {
|
||||
this.stop();
|
||||
});
|
||||
|
||||
player.on("ended", () => {
|
||||
this.stop();
|
||||
});
|
||||
}
|
||||
|
||||
private start() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user