From 2ae3b3e2e4206a16a82a7dda81fdbde1db58402c Mon Sep 17 00:00:00 2001 From: bonjinnorenka <32708102+bonjinnorenka@users.noreply.github.com> Date: Sat, 26 Aug 2023 08:31:54 +0900 Subject: [PATCH] fix getVideoData title not correct answer --- assets/js/invidious_iframe_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/invidious_iframe_api.js b/assets/js/invidious_iframe_api.js index d08829f1..aa1d7b23 100644 --- a/assets/js/invidious_iframe_api.js +++ b/assets/js/invidious_iframe_api.js @@ -371,7 +371,7 @@ class invidious_embed{ this.message_wait = {getvolume:[],getmutestatus:[],getduration:[],getcurrenttime:[],getplaybackrate:[],getavailableplaybackrates:[],gettitle:[]}; } async getVideoData(){ - return {video_id:this.videoId,title:this.promise_send_event('gettitle')}; + return {video_id:this.videoId,title:await this.promise_send_event('gettitle')}; } } function invidious_ready(func){