Watch history (#232)

* [PoC] Watch history

* Render watch history on web app

* Changelog

* Log out user on insufficient access
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2023-12-20 09:39:42 -05:00
1 parent f581d568d9
commit a1aed7d253
10 files changed
+92 -13

No files matched your search

@@ -1,4 +1,5 @@
<script lang="ts">
export let videoId: string | undefined = undefined;
export let title: string | undefined = undefined;
export let videoThumbnails: any[] | undefined = undefined;
export let liveNow: boolean = undefined;
@@ -19,6 +20,8 @@
url = invidiousInstance + url;
}
thumbnailUrl = url;
} else if (invidiousInstance) {
thumbnailUrl = `${invidiousInstance}/vi/${videoId || "--"}/mqdefault.jpg`;
}
}