mirror of
https://github.com/stashapp/stash.git
synced 2025-12-11 23:04:06 -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", () => {
|
player.on("dispose", () => {
|
||||||
this.stop();
|
this.stop();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
player.on("ended", () => {
|
||||||
|
this.stop();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private start() {
|
private start() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user