[Bug] with every video, with every server, "The media could not be loaded, either because the server or network failed or because the format is not supported." on Apple iOS #106
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
hello!
ever since that time about a week ago when you told us to touch grass, videos have not been working. i thought it was that way for everyone (even after the "hd720 has been fixed" announcement (i changed the settings to all the possible qualities and it still didn't work)), but it seems it works for other people. i'm on the latest version of ios on an iphone (yeah yeah, the "enshittificator". hey, sometimes a guy just wants to drive an automatic car instead of having to worry about gears and throttles. sometimes a guy just wants to drive on a nice flat city road instead of taking dirtier bump-filled routes. frankly i don't care as long as no algorithms track and develop the wrong idea about me based on incomplete information :P ), and i use private tabs on safari. adblock/content blockers, safari's privacy restrictions, i turn all of those off and still it doesn't work. desktop mode also fixes nothing. the duckduckgo browser has the same issues. it works on nothing, basically. also as a small extra, the faq button on the bottom of the site doesn't link to anything
thanks for making and maintaining this instance by the way, it's a really great help!
I have been contacted a lot because of this, but there is literally no way I can debug the issue with iOS because I don't own a Mac nor an iPhone. Works everywhere but not on iOS for some reason that I would love to know. I'm "virtualizing" MacOS right now just to be able to test, but I doubt this is going to work because I also need to emulate iOS, so It's emulation inside emulation and I need to create an apple account to download xcode and be able to emulate iOS and finally fix the bug... yeah ok now that I think about it this is not even going to work.
Sorry but without iOS in hand and nothing to emulate it without a Mac, I can't do anything
[Bug] with every video, with every server, "The media could not be loaded, either because the server or network failed or because the format is not supported."to [Bug] with every video, with every server, "The media could not be loaded, either because the server or network failed or because the format is not supported." on Apple iOSif anyone on the internet with iOS and a Mac wants to help, please do if you even know how to debug on Safari
i understand, thank you regardless (and keep fighting the good fight)
Just tried it on my Mac in Safari and it works fine for me.
It works on My iPad too.
Funnily enough, I sometimes experience this on my main computer running Arch with Librewolf.
@jacoblightning3 wrote in #106 (comment):
Because this error is not exclusive to iOS safari, it can also happen if YouTube returns a bad status code, but most of the time that can be fixed changing backends and call it a day. In this case, no video works on iOS, even on different backends (as far as I know)
Ill try to get the screenshot from my iPad but it's slightly more annoying
Screenshot from my iPad:
Screenshot from my Mac:
I can try to help out more tomorrow. As you can see from the screenshots, it's 2AM for me right now.
But it at least appears that it does not happen all the time on iPadOS/MacOS either.
Cool, thanks. I wonder if this is an iPhone exclusive issue
No Problem.
It could be an iPhone issue. Ill test on the simulator on my Mac in the morning as I don't own an iPhone.
I do not have this issue consistently on iOS or macOS, but I am having it right now, only thing I could find with web inspector on iOS
edit: same error in the same place on macOS Safari and Chrome, video.js 163:50. Let me know if I can be of more assistance, I'm not 100% sure what I'm looking for here but I do have all the hardware to test.
Hey there! This looks like a CORS issue:
The Access-Control-Allow-Origin header seems to be missing altogether, but oddly enough, I see it on Firefox.
I can confirm that disabling CORS on Safari fixes the problem at least for some videos.
Guys the videos also doesn't play on M1, too. I think they play M3 and onwards.
It gives this error: "Playback cannot continue. No available working or supported playlists."
I can not open any video on Safari (macOS Sonoma 15.4). However, on Chromium, it works!
I think the issue is some Macs and iPhones do not support AV1 codec, particularly the old models. And Chromium relies on software rendering.
Has anyone checked this issue? It has been fixed like yesterday.
Related issue: Filtering to only av01 (when available) in Dash breaks playback on devices without av01 support
@buraktamturk wrote in #106 (comment):
Cool, I didn't notice. I will update invidious companion now
@Fijxu wrote in #106 (comment):
Done, please try again
I just tried on iOS safari and the errors continue.
I send a inspect element log with the errors.
On macOS safari looks like it's fine here (tried a couple of videos and working pretty well).
Is there any tests I can do to help ? I have a Mac and a iOS, but im no familiar with invidious
Can you guys could go to the Network Tab and filter by
/videoplayback
and click on the requests made to get more details about it? If there is none, please check forapi/manifest
requests instead and inspect their response and headers and console errors of that request if there's any. ThanksFollow a list of all requests that it was made.
I sent a print of the request for
videoplayback
also, follow the request as a curl (if it helps)curl 'https://inv-eu2.nadeko.net/videoplayback?expire=1743499011&ei=o1rrZ-WaL4CJ6dsP8vm4iQ4&id=o-ADk9sjX6lCKswNGIr522e-2j7QIIcoiD_KqXyT2cGu-9&itag=18&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1743477411%2C&mh=Vi&mm=31%2C29&mn=sn-n02xgoxufvg3-2gbz%2Csn-4g5ednde&ms=au%2Crdu&mv=m&mvi=2&pl=24&rms=au%2Cau&initcwndbps=2223750&bui=AccgBcO2dgvgtCAa2alZOII3ibsr0QntZ48k1weOYrneayigatJn7YImi02RYJxdnBgH6-Ug9JosTcFI&spc=_S3wKimslYd4Lp5NvOaVs4Nphg6JF86fu2MEERKRxCyIcMBsPJvIK3J-ObtHc6fZ9kWEDymO975AMRzfg46_BDMt&vprv=1&svpuc=1&mime=video%2Fmp4&ns=5YMf1-T3TMouWezlfhKt3P8Q&rqh=1&gir=yes&clen=22157605&ratebypass=yes&dur=502.340&lmt=1743472309074487&mt=1743476959&fvip=5&fexp=51355912%2C51435733&c=WEB&sefc=1&txp=3309224&n=nFEdIMKpIY8pLw&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&sig=AJfQdSswRgIhAPxT-hG_5M-ftZ64mYQNua_92UjLhjGDPnWP6tYPLO0pAiEAvN_Go3lTQhVvDEEiKFqkeHCPXpEiEpxKHSftivUPza0%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AFVRHeAwRgIhANg5heKJ0qvfV9gkHzniARV6fz6vceWFj3F8EsBReoPxAiEAiUjSm681NS3ss8Wp5NL-iMTVFD42vpflEkucWpz0aaA%3D&cver=2.20250222.10.00&alr=no&host=rr2---sn-n02xgoxufvg3-2gbz.googlevideo.com&enc=true&data=PLQG6cYyFGA%2FISu%2FTKtvoJpGHTtrNVeQV0UdKWYdnVN0b%2B39hglzNdygzzms4gYfcZMVxvcH3qayjIbZbmkZek4K0WLA6DopuYj9kAnn7shi%2B5tOCF9HJT910UoiQkSmg7CgtnalOR2oARRnB9hAeso5RNQYY8fdUyFio1%2Bu4cs%2Fyfi96M%2BIyY%2FrnhF8eWKedbA3FJuwz6NrI7C6xUKnlhLIMmcZYiYZjbRDqYfEC7Z8C1v1umIHW8UK%2BQf%2FmeTNC3jY8%2FVRHoNE0kC3xpj5jKQ%2B7bvy8%2Fc%2Bwso%2B%2Bk8ztVo%3D' \ -X 'GET' \ -H 'Pragma: no-cache' \ -H 'Accept: */*' \ -H 'Sec-Fetch-Site: same-site' \ -H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \ -H 'Cache-Control: no-cache' \ -H 'Sec-Fetch-Mode: no-cors' \ -H 'Accept-Encoding: identity' \ -H 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Mobile/15E148 Safari/604.1' \ -H 'Connection: keep-alive' \ -H 'Range: bytes=0-1' \ -H 'Sec-Fetch-Dest: video' \ -H 'Priority: u=3, i' \ -H 'X-Playback-Session-Id: 8BF7E596-5B21-4B2C-8701-34B7183845E6'
if there is anything else I can do just let me know
Edit:
I can't find any requests to
api/manifest
.@leo Because you requested the medium version of the video. Please switch to DASH in the preferences. The video plays fine on medium right?
@Fijxu I was not aware of this, but when I access the settings, it was already in the DASH options.
Follow below a print of it. Is there options the right one ?
I have tried all others but gives me the same error
Edit:
The print isn't visible but the Preferred DASH video quality: was on auto
@Fijxu wrote in #106 (comment):
Hahah! Wooow. Amazing. It works flawlessly now. I can't believe it! I thought this was permanently done! Now it just works!
What about Backend 1, there is videos that play on Backend 1 that don't play on any other backend?.
I recently changed something there so it may work there, but no idea.
I am getting the same issue, but I am on Firefox on Windows. It happens intermittently. I get a content-security-policy error right before the playback error.
That's useful, thanks!
@randdev Try again ;3
I haven't seen the problem again. Looks like it's fixed for me. Thanks.
I tested a video on a M1, M3 and M4, works fine.
But it doesn't work on iPhone 15, 16e and 16 Plus
Works great on iPad Air with M3.
I wrote this from an Apple store. iPhones are just broken, tell Apple to fix it because I literally can't
Fixed on companion, I'll push this update tomorrow, that will make iphone users be able to watch medium quality at least, which is pretty shit, but it's still ok, at least to listen to some music :^)
https://github.com/iv-org/invidious-companion/pull/101