From c2de0b7b33121f1bc4c9cfeb2d63635abe25d90a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Mon, 24 May 2021 13:04:10 +0200 Subject: [PATCH] yt: Use "html5=1" request query string --- src/youtube.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/youtube.js b/src/youtube.js index 106df4ec..5c380292 100644 --- a/src/youtube.js +++ b/src/youtube.js @@ -729,6 +729,7 @@ var YouTubeClient = GObject.registerClass({ return new Promise((resolve, reject) => { const query = [ `video_id=${videoId}`, + `html5=1`, `el=embedded`, `eurl=https://youtube.googleapis.com/v/${videoId}`, `sts=${this.cachedSig.timestamp}`,