aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/shared/video-playlist/video-playlist-element-miniature.component.ts3
-rw-r--r--client/src/app/videos/+video-watch/video-watch-playlist.component.html2
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts2
-rw-r--r--client/src/assets/player/bezels/bezels-plugin.ts2
-rw-r--r--client/src/assets/player/peertube-player-manager.ts1
-rw-r--r--client/src/sass/application.scss2
6 files changed, 7 insertions, 5 deletions
diff --git a/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.ts b/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.ts
index cd592eab0..bb2fe7da3 100644
--- a/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.ts
+++ b/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.ts
@@ -86,7 +86,8 @@ export class VideoPlaylistElementMiniatureComponent implements OnInit {
86 return { 86 return {
87 videoId: this.playlistElement.video.uuid, 87 videoId: this.playlistElement.video.uuid,
88 start: this.playlistElement.startTimestamp, 88 start: this.playlistElement.startTimestamp,
89 stop: this.playlistElement.stopTimestamp 89 stop: this.playlistElement.stopTimestamp,
90 resume: true
90 } 91 }
91 } 92 }
92 93
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)
diff --git a/client/src/assets/player/bezels/bezels-plugin.ts b/client/src/assets/player/bezels/bezels-plugin.ts
index 4317d60f9..c2c251961 100644
--- a/client/src/assets/player/bezels/bezels-plugin.ts
+++ b/client/src/assets/player/bezels/bezels-plugin.ts
@@ -43,7 +43,7 @@ class PauseBezel extends Component {
43 this.options_ = options 43 this.options_ = options
44 44
45 player.on('pause', (_: any) => { 45 player.on('pause', (_: any) => {
46 if (player.seeking()) return 46 if (player.seeking() || player.ended()) return
47 this.container.innerHTML = getPauseBezel() 47 this.container.innerHTML = getPauseBezel()
48 this.showBezel() 48 this.showBezel()
49 }) 49 })
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts
index ac3609c04..27aa360e6 100644
--- a/client/src/assets/player/peertube-player-manager.ts
+++ b/client/src/assets/player/peertube-player-manager.ts
@@ -52,6 +52,7 @@ export interface CustomizationOptions {
52 muted?: boolean 52 muted?: boolean
53 loop?: boolean 53 loop?: boolean
54 subtitle?: string 54 subtitle?: string
55 resume?: string
55 56
56 peertubeLink: boolean 57 peertubeLink: boolean
57} 58}
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index 463aeec5b..751f101ed 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -142,12 +142,12 @@ label {
142 @include disable-default-a-behaviour; 142 @include disable-default-a-behaviour;
143 143
144 &.active, &.title-page-single { 144 &.active, &.title-page-single {
145 font-weight: $font-bold;
146 margin-top: 30px; 145 margin-top: 30px;
147 margin-bottom: 25px; 146 margin-bottom: 25px;
148 } 147 }
149 148
150 &.active { 149 &.active {
150 font-weight: $font-bold;
151 border-bottom: 2px solid var(--mainColor); 151 border-bottom: 2px solid var(--mainColor);
152 } 152 }
153 153