Improve performance of video bookmarks (#662)

* Improve performance of video bookmarks

* remove test code
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2025-06-20 11:53:41 -04:00
1 parent 63f8ba8617
commit d8417ee90c
8 files changed
+252 -28

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ export class PlayletApi {
static host = () => `http://${getHost()}`
static async getVideoInfo(videoId) {
const response = await fetch(`${PlayletApi.host()}/playlet-invidious-backend/api/v1/videos/${videoId}`);
const response = await fetch(`${PlayletApi.host()}/playlet-invidious-backend/api/v1/videos/${videoId}?video_info_batched=true`);
return await response.json();
}