Legacy Format Local API error (click to copy) : typeerror: Cannot read property '0' of undefined
Behavior of the program Can't watch any video at all. If i click on any video of my subsription page, i have this error : "Local API error (click to copy) : typeerror: Cannot read property '0' of undefined"
Expected behavior Video playing normally
To Reproduce Please add all steps to reproduce the behavior:
- install last nightly (v0.9.2-nightly-322 Beta)
- Click on any video of the subscriptions page
- See error
Screenshots
Environment Information (please complete the following information):
- OS: W10
- OS Version: W10 19041.508
- FreeTube version: v0.9.2-nightly-322 Beta
- Installation Method (If applicable): .exe
- Primary API Used: Local API
Additional context
Hi, so this is weird. I just tried the live stream you provided and it works fine for me.
Could try to search the video and then play it instead of clicking from the subscription window? Just want to confirm whether you can watch the video from search or not :)
Thanks in advance
thanks for your answer. exactly the same behaviour from the search results with the same error message. here are my settings :
Hi, so first of all thanks for trying what I suggested. Unfortunate that it didn't work.
So from your setting I can see two things that are in a bit of a conflict, due to the app not really restricting it. If you use the Legacy format, you cannot use 1080p. The legacy format is capped at 720p and usually only provides 360p and 720p (so none of the others).
However this might not be the problem in itself, because the default quality doesn't actually work most of the time. The problem at the moment is that the Legacy format seems to fail. This happens on my machine as well. So I'd suggest switching to DASH format for the moment. I'll also edit the title so other people can find it more easily and we are able to identify the problem more easily
Edit: I don't know what happened, but now my complete application crashes at every video. This will definitely become high priority
Hello, Thanks for your answer. So i moved to DASH format but i still have the error. the only thing that change is that now i have the player in the good size and not in very small in the corner.
When i click on the play button, nothing happened and it just stays like that (the error message disappear after few seconds)
Thanks for testing. Currently the issue is due to our main module which grabs all the information not getting some information. This leads to the failures. I'll test something today or tomorrow and will come back to you :)
This is now fixed in the newest nightly build, which should be available in a few minutes