diff --git a/client/src/assets/player/shared/peertube/peertube-plugin.ts b/client/src/assets/player/shared/peertube/peertube-plugin.ts index 0ca5a500a..708825c9f 100644 --- a/client/src/assets/player/shared/peertube/peertube-plugin.ts +++ b/client/src/assets/player/shared/peertube/peertube-plugin.ts @@ -291,7 +291,7 @@ class PeerTubePlugin extends Plugin { saveVideoWatchHistory(this.options.videoUUID(), currentTime) } - if (!this.videoViewUrl) return Promise.resolve(true) + if (!this.videoViewUrl()) return Promise.resolve(true) const body: VideoView = { currentTime, viewEvent }