ActivityPub-federated video streaming platform using P2P directly in your web browser
make playlists ignore user history
Rigel Kent12f18b90ba63
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.tsindex f13acec40a..92c1c50c01 100644--- a/client/src/app/videos/+video-watch/video-watch.component.ts+++ b/client/src/app/videos/+video-watch/video-watch.component.ts@@ -570,7 +570,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {}) {const { video, videoCaptions, urlOptions, user } = params- let startTime = timeToInt(urlOptions.startTime) || (video.userHistory ? video.userHistory.currentTime : 0)+ let startTime = timeToInt(urlOptions.startTime) || (video.userHistory && !this.playlist ? video.userHistory.currentTime : 0)// If we are at the end of the video, reset the timerif (video.duration - startTime <= 1) startTime = 0