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

Youtube not autoplay next video #7

Open
HuyNguyen1590 opened this issue Oct 10, 2024 · 2 comments
Open

Youtube not autoplay next video #7

HuyNguyen1590 opened this issue Oct 10, 2024 · 2 comments

Comments

@HuyNguyen1590
Copy link

I notice that the extension on Chrome replaces the player, and I can't find the toggle button to enable autoplay. Any workaround?

@uyitroa
Copy link
Contributor

uyitroa commented Dec 11, 2024

bump, it seems like the autoplay button of the extension is not working.
I'm using Safari Version 18.1.1.

@notarisj
Copy link
Owner

If you are on Windows you can comment out line 93 of content.js setInterval(pauseDefaultPlayer, 1000); which will allow the YouTube video to play in the background below the embeddable version. This kinda enables what you want but not entirely. For example, if you pause the video in the embedded version the actual YouTube video keeps playing in the background so when it ends it will go to the next. The actual YouTube video takes longer to finish because of ads so there is a bit of wiggle room but if you pause it it will go to the next after a while. I will add this in the future. The Auto-Play toggle is only to start playing the video automatically.

It's not possible to synchronize the 2 videos because it's blocked by CORS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants