diff --git a/src/app/components/recent-videos/recent-videos.component.html b/src/app/components/recent-videos/recent-videos.component.html index 14511d8..5a8b889 100644 --- a/src/app/components/recent-videos/recent-videos.component.html +++ b/src/app/components/recent-videos/recent-videos.component.html @@ -32,7 +32,7 @@
- +
No videos found. diff --git a/src/app/components/unified-file-card/unified-file-card.component.ts b/src/app/components/unified-file-card/unified-file-card.component.ts index 5338cab..9b0e424 100644 --- a/src/app/components/unified-file-card/unified-file-card.component.ts +++ b/src/app/components/unified-file-card/unified-file-card.component.ts @@ -75,7 +75,7 @@ export class UnifiedFileCardComponent implements OnInit { } if (this.file_obj && this.file_obj.thumbnailPath) { - this.thumbnailBlobURL = `${this.baseStreamPath}thumbnail/${encodeURIComponent(this.file_obj.thumbnailPath)}${this.jwtString}`; + this.thumbnailBlobURL = `${this.baseStreamPath}thumbnail/${encodeURIComponent(this.file_obj.thumbnailPath)}?jwt=${this.jwtString}`; /*const mime = getMimeByFilename(this.file_obj.thumbnailPath); const blob = new Blob([new Uint8Array(this.file_obj.thumbnailBlob.data)], {type: mime}); const bloburl = URL.createObjectURL(blob); @@ -134,9 +134,8 @@ export class UnifiedFileCardComponent implements OnInit { } generateStreamURL() { - let baseLocation = 'stream/'; + const baseLocation = 'stream/'; let fullLocation = this.baseStreamPath + baseLocation + `?test=test&uid=${this.file_obj['uid']}`; - if (this.jwtString) { fullLocation += `&jwt=${this.jwtString}`; } diff --git a/src/app/settings/settings.component.html b/src/app/settings/settings.component.html index 74a57dd..689b596 100644 --- a/src/app/settings/settings.component.html +++ b/src/app/settings/settings.component.html @@ -81,7 +81,9 @@ Language - {{all_locales[locale]['nativeName']}} + + {{all_locales[locale]['nativeName']}} +