Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playlists #4

Open
derrickrossignol opened this issue Oct 22, 2023 · 11 comments
Open

Playlists #4

derrickrossignol opened this issue Oct 22, 2023 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@derrickrossignol
Copy link

When trying to play a video from a playlist (with a url like youtube.com/watch?v=[video ID]&list=[playlist ID]&index=1 ), it doesn't work. The frame created by UnBlock shows the error message, "An error occurred. Please try again later. (Playback ID: [ID])." The page just automatically moves from one playlist video to the next, unable to play any of them.

@YelloNox
Copy link
Owner

I am having trouble getting the block to show (believe it or not). For now, I'll try forcing a fix and will release an update in the following day-3days; as I have little time at the moment.

@YelloNox YelloNox pinned this issue Oct 22, 2023
@YelloNox YelloNox added the bug Something isn't working label Oct 22, 2023
@YelloNox
Copy link
Owner

Ok, I think I fixed the issue and hopefully didn't break anything else... Maybe : |

@derrickrossignol
Copy link
Author

Just tested it and it works properly now! Also, there was a similar issue with URLs that have a timestamp in them (like youtube.com/watch?v=[video ID]&t=100s, for example), but this fix took care of that, too. I'm also not seeing anything else broken as a result of the update. Thanks!

@derrickrossignol
Copy link
Author

I'm actually still experiencing the same issues as before. For whatever reason, YouTube stopped presenting my account with the anti-adblocker screen for a couple days, so when I tried your updated script, I thought your fix had worked, but it was just YouTube going temporarily back to normal for me. So, I turned off your script and was using YouTube normally without issues again. But, YouTube put up the block on my account again today and, like before, the script is not working for playlists and timestamped videos.

Not a dealbreaker for me (other scripts that work similarly to yours have the same issues), but just figured you should know, thanks!

@YelloNox
Copy link
Owner

It seems YouTube updated some things as currently, the video is just black for me. I'll need to rework the code soon.

@YelloNox
Copy link
Owner

YelloNox commented Oct 26, 2023

Ohno! I accidentally forgot to re-add the correct class after I finished testing. I just fixed it. Let me know if the issue persists.

@WaGi-Coding
Copy link

tried the most recent version now, but still just endless skips through playlists ^^

@YelloNox
Copy link
Owner

YelloNox commented Oct 27, 2023

I found out why the playlists are skipping. YouTube believes the videos failed to load, thus, they skip after some time. I will see what I can workaround.

@YelloNox YelloNox self-assigned this Oct 27, 2023
@HydroXBR
Copy link

HydroXBR commented Jan 4, 2024

Hey there, @YelloNolo!

First of all, thank you very much for trying to develop something that is very useful for people like me who can't stand ads like those on YouTube. It helps me a lot to study. Watching class playlists, I noticed the bug and saw that, as described on GreasyFork, solutions to this problem are being analyzed. So, I made an observation and I'm commenting here so that maybe I can help with something.

I noticed that, in a playlist, the video URLs receive the index parameter, like this:
https://www.youtube.com/watch?v=VIDEO&list=PLAYLISTID&index=INDEX

By removing the parameter from the URL, we can see that the problem does not occur and the video plays normally as if it were any "loose" video, like this:
https://www.youtube.com/watch?v=VIDEO&list=PLAYLISTID

Attached, I left a video showing that the problem stops after removing the parameter.

I hope I contributed something and, once again, thank you very much!

PS: Sorry for the strange English, I'm Brazilian and I still need help from the translator to write lol.

problem.mp4

@YelloNox
Copy link
Owner

YelloNox commented Jan 6, 2024

@HydroXBR I just tried this, but it seems that if you wait a bit, it ends up switching back to the "index" link. I created a new branch for testing if you want to upload the script and see if it works for you: https://github.com/YelloNolo/YouTube-UnBlock/tree/Playlist-Fix-Testing

Note: I also tried replacing all URL's inside the HTML that would match the broken URL, but to no success.

@HydroXBR
Copy link

When you sent it, I applied the branch and it worked until today, it's helping me a lot, actually!
I was able to follow classes through playlists normally!

Of course, it may be that works for me only, I believe it also depends on the browser, but helped me a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants