youtube-to-html5-loader
youtube-to-html5-loader copied to clipboard
404 error
Hi,
you are doing an amazing job on this lib, I love it !
I've an issue on one of my websites : https://www.lesaccompagneurs.com/
I use the lib to add video background in the header, it works fine for a time but lately it stops showing.
I've this in my console :
GET https://r1---sn-n4g-gon6.googlevideo.com/videoplayback?expire=1622065530&ei=Gm2uYKHUHZqfxN8PgpqswAY&ip=213.52.128.70&id=o-APJMZ7A0tTmvzfqghGpp-Q26J1U-iv6LwhYxb9vvbw27&itag=160&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278&source=yt_otf&requiressl=yes&vprv=1&mime=video%2Fmp4&ns=9q7AC2o8oc4TTfry27TS1cIF&otf=1&otfp=1&dur=0.000&lmt=1609258507679278&keepalive=yes&fexp=24001373,24007246&c=WEB&txp=2210222&n=6iE9mxWrORhLHCAB3d&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cotf%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRAIgVu-AsVxCReSzN7a4HcuCLMMRvBINWQu-e8Wsz_2_xlgCIAdBeahNEQJRB21DscYGBMz3_joIBkRuWupYd5CVAaiv&ratebypass=yes&redirect_counter=1&rm=sn-aigesr76&req_id=e4a3e3b8c80336e2&cms_redirect=yes&ipbypass=yes&mh=5U&mip=93.11.88.194&mm=31&mn=sn-n4g-gon6&ms=au&mt=1622043666&mv=m&mvi=1&pl=24&lsparams=ipbypass,mh,mip,mm,mn,ms,mv,mvi,pl&lsig=AG3C_xAwRgIhALRFLyIRSepIaZH7W5b5uC9MkypP5qA1AdRLghx-usd7AiEA2XNw5nZG373P6lrFNeGJJmK2qsqK1FJzfFjZX6X1Z4w%3D net::ERR_ABORTED 404
Are you aware of this kind of error ? Did i do something wrong ?
You can find how i use it on line 33 in homepage :

I notice an API update yesterday, so I udapted the lib on the website with 4.0.1 today.
Sorry for my english by the way, I'm french !
Hope you'll see this soon :)
I have the same error here, but the problem is in own API url (line 304, using yt2html5.com/?id=${videoId}`;) to decode youtube url to final video url. The answer is always: { success: false, data: { statusCode: 404 } }
Can owner share the code of this own api?
I have the same error, but not on all videos. I suspect that the newer videos are fine, but all the old vids give error. The version I use is 4.0.1
WIth error: http://hetzoute.be/vastgoed/detail-woning/appartement-knokke-zoute-luxueus-tijdloos-hoekappartement-vlakbij-de-minigolf-in-knokke-het-zoute/2182808/46658/2/
Without error: http://hetzoute.be/vastgoed/detail-woning/appartement-knokke-zoute-stijlvol-gerenoveerd-appartement-vlakbij-de-q8-in-knokke-het-zoute/2322111/46658/1/
EDIT: I found out that the vids without errors are 1440p and the ones with the errors are 720p (I don't know if that helps ;-)
Error in console: "GET https://r3---sn-5hne6nsy.googlevideo.com/videoplayback?expire=1625076298&ei=6l3cYIHVGsfK1gKE4qKYDg&ip=213.52.128.70&id=o-AATSVnO6vs9IhNL367gLND7aKmAvOe-SS6tGRXR0fXGf&itag=160&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278&source=yt_otf&requiressl=yes&vprv=1&mime=video%2Fmp4&ns=JdmnEqplD9rwO8BZHg6eH48G&otf=1&otfp=1&dur=0.000&lmt=1610553488281975&keepalive=yes&fexp=24001373,24007246&beids=24064828&c=WEB&txp=2210222&n=zK-6DUUYN65QnxMq6&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cotf%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRQIgfrcsj1VRQVaVs5BcNxrch2RFvoG0-kNH7AONXTgKqEACIQDu6MG3WmbrkrOOP_pwUmVGmBYbBamL9pveoes5BHXpow%3D%3D&ratebypass=yes&redirect_counter=1&rm=sn-4g5ezr7s&req_id=a909c71e095736e2&cms_redirect=yes&ipbypass=yes&mh=Q9&mip=2a02:1811:b137:f120:7052:6786:dceb:19f4&mm=31&mn=sn-5hne6nsy&ms=au&mt=1625054224&mv=m&mvi=3&pl=43&lsparams=ipbypass,mh,mip,mm,mn,ms,mv,mvi,pl&lsig=AG3C_xAwRQIgICGNa0gGB_4cvSKqdp4fPS_gHZRPNMfiH0iJ8dPHrQoCIQCxI4UujbSwWGE6leH7NxUMR6LnPWIAdxQaXUYWpBv0yw%3D%3D net::ERR_ABORTED 404"
Everything stopped working since today. See the issue: "New error message : Cannot read property 'streamingData' of undefined" for more.