[Bug]: Videos don't load, player continuously flickers
Guidelines
- [X] I have encountered this bug in the latest release of FreeTube.
- [X] I have encountered this bug in the official downloads of FreeTube.
- [X] I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
- [X] I have searched the documentation for information that matches the description of the bug I want to file, without success.
- [X] This issue contains only one bug.
Describe the bug
I get
NotSupportedError: The element has no supported sources.
on every video. It keeps flickering between a full-sized and thumbnail-sized player, and never loads (it flickers like was shown here: https://github.com/FreeTubeApp/FreeTube/issues/5452).
Local API is selected as backend, fallback to non-prefered is enabled. Invidious proxy is disabled.
Expected Behavior
vid loads
Issue Labels
API issue, content not loading, feature stopped working
FreeTube Version
v0.21.1 Beta
Operating System Version
Fedora 40
Installation Method
Flathub
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
0.21.1 Beta
Additional Information
on same version, it used to work fine. Today issues started.
Nightly Build
- [ ] I have encountered this bug in the latest nightly build.
I have started to get this problem a few minutes ago for every video as well.
Proxying through invidious stops the flickering but also fails with the message: NotSupportedError: Failed to load because no supported source was found.
However, the video does play when opened on the same invidious instance via web browser, so it seems like the problem may be in Freetube
EDIT: This comment has a better workaround.
Same issue, just verifying this is happening to me as well
VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) The media could not be loaded, either because the server or network failed or because the format is not supported. qn {code: 4, message: 'The media could not be loaded, either because the …rk failed or because the format is not supported.'}
renderer.js:2 Unable to play dash formats. Reverting to legacy formats...
renderer.js:2 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'ready')
at renderer.js:2:1797362
Same happening to Zorin 17.1 (.deb) version
To make it easier for the devs, let's just upvote the main post
Same issue, just verifying this is happening to me as well
Same issue. The player reloads the videos over and over again. A few days ago videos would load in very low resolution until I reloaded them with ctrl-r, but now it's totally broken.
Switching from Local API to Invidious fixed the issue for now. But Invidious instances are unreliable so it won't last.
Same issue for me. I switched back to invidious instance with no luck. I got this error message:
SyntaxError: Unexpected end of JSON input
Edit: Livestreams are working
Exact same problem as given by Keru4 above.
Switching to Invidious does not fix the problem for me: My subscriptions page will not load at all, and most videos will either not load caused by error code "Error: Could not get channel info." or "TypeError: Failed to fetch". Other videos will not load for a long time and then fall back to Local API flickering.
Switching to Invidious seems to have resolved the issue (temporarily and tempermentally) but I can confirm that with Local API the player flickers trying to load, and opening the dev console with F12 shows that it's repeatedly 403ing, making me think it might be Youtube fucking with things yet again.
I haven't exactly delved into the code or read through the log (because it keeps spamming itself to all hell) nor do I really know shit, but maybe this much helps somewhat?
Same issue. Switching from Local API to Invidious API does seem to fix it. Would like to switch back to Local API once it is fixed, as I have too many subscriptions for the Invidious API to work properly.
Same issue. As others have said switching to individuous API seems to fix the problem.
Same for me but switching to invidious instance (at least invidious.fdn.fr) did not fix.
Live videos like Sky News work fine
Having this issue as well. Switching to Invidious makes the page load indefinitely for me, until it switches back to local api and starts doing this again.
It seems like youtube is doing something weird currently and that is impacting FreeTube, Newpipe and Invidious. Invidious instances only provide "medium" resolution and like FreeTube, Newpipe is broken as well
I had this issue inconsistently with some videos yesterday, which was fixed by refreshing by going to the homepage and back. Today it happens to all videos and refreshing doesn't fix it.
Also found my way here, live streams works everything else flickers like crazy, windows 11 64bits
Possibly youtube cracking down on 3rd party apps that circumvent their ad revenue? They were talking about this a few months ago and I was wondering if we'd see impacts to Freetube.
SmartTube for android has also been struggling lately, that dev has been releasing updates near daily to keep the app working. Google is shifting the tectonic plates around to address losses in ad-revenue.