Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Prefer short id

Chocobozzz148641d1979c
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 dae8b046e3..8ccae3f77f 100644
--- a/client/src/app/+videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/+videos/+video-watch/video-watch.component.ts
@@ -144,7 +144,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
transcriptionWidgetOpened = false
- private nextRecommendedVideoUUID = ''
+ private nextRecommendedVideoId = ''
private nextRecommendedVideoTitle = ''
private videoFileToken: string
@@ -243,7 +243,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
// The recommended videos's first element should be the next video
const video = videos[0]
- this.nextRecommendedVideoUUID = video.uuid
+ this.nextRecommendedVideoId = video.shortUUID
this.nextRecommendedVideoTitle = video.name
}
@@ -629,8 +629,8 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
return
}
- if (this.nextRecommendedVideoUUID) {
- this.router.navigate([ '/w', this.nextRecommendedVideoUUID ])
+ if (this.nextRecommendedVideoId) {
+ this.router.navigate([ '/w', this.nextRecommendedVideoId ])
}
})
}