Improve performance of video bookmarks (#662)
* Improve performance of video bookmarks * remove test code
This commit is contained in:
1 parent
63f8ba8617
commit
d8417ee90c
8 files changed
+252
-28
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user