yt: Use "html5=1" request query string

This commit is contained in:
Rafał Dzięgiel
2021-05-24 13:04:10 +02:00
parent ac7be5956c
commit c2de0b7b33

View File

@@ -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}`,