diff options
Diffstat (limited to 'client/src/app/videos/+video-watch')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch-playlist.component.html | 2 | ||||
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch-playlist.component.html b/client/src/app/videos/+video-watch/video-watch-playlist.component.html index a04081d35..d43dcec93 100644 --- a/client/src/app/videos/+video-watch/video-watch-playlist.component.html +++ b/client/src/app/videos/+video-watch/video-watch-playlist.component.html | |||
@@ -29,7 +29,7 @@ | |||
29 | iconName="repeat" | 29 | iconName="repeat" |
30 | [class.active]="loopPlaylist" | 30 | [class.active]="loopPlaylist" |
31 | (click)="switchLoopPlaylist()" | 31 | (click)="switchLoopPlaylist()" |
32 | [ngbTooltip]="'Loop playlist videos'" | 32 | [ngbTooltip]="loopPlaylistSwitchText" |
33 | placement="bottom auto" | 33 | placement="bottom auto" |
34 | container="body" | 34 | container="body" |
35 | ></my-global-icon> | 35 | ></my-global-icon> |
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index 9eae45fed..dbd75b35a 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -619,7 +619,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
619 | const { video, videoCaptions, urlOptions, user } = params | 619 | const { video, videoCaptions, urlOptions, user } = params |
620 | const getStartTime = () => { | 620 | const getStartTime = () => { |
621 | const byUrl = urlOptions.startTime !== undefined | 621 | const byUrl = urlOptions.startTime !== undefined |
622 | const byHistory = video.userHistory && !this.playlist | 622 | const byHistory = video.userHistory && (!this.playlist || urlOptions.resume !== undefined) |
623 | 623 | ||
624 | if (byUrl) { | 624 | if (byUrl) { |
625 | return timeToInt(urlOptions.startTime) | 625 | return timeToInt(urlOptions.startTime) |