mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
yt: Use "html5=1" request query string
This commit is contained in:
@@ -729,6 +729,7 @@ var YouTubeClient = GObject.registerClass({
|
|||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const query = [
|
const query = [
|
||||||
`video_id=${videoId}`,
|
`video_id=${videoId}`,
|
||||||
|
`html5=1`,
|
||||||
`el=embedded`,
|
`el=embedded`,
|
||||||
`eurl=https://youtube.googleapis.com/v/${videoId}`,
|
`eurl=https://youtube.googleapis.com/v/${videoId}`,
|
||||||
`sts=${this.cachedSig.timestamp}`,
|
`sts=${this.cachedSig.timestamp}`,
|
||||||
|
Reference in New Issue
Block a user