-
-
Notifications
You must be signed in to change notification settings - Fork 542
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
autoplay quickfix #1703
Comments
There must be another more efficient way of disabling autoplay. Current youtube/js&css/web-accessible/functions.js Line 296 in f6e49b1
|
This should fix disable autoplay still play for a milisecond before the video pause when video is open using new tab. code-charity#1703
This should fix disable autoplay still play for a milisecond before the video pause when video is open using new tab. #1703
hi! @raszpl, btw should we try the stop() function as possible or repeatedly within 0.x seconds? this one: youtube/js&css/web-accessible/functions.js Lines 173 to 176 in 6f6a592
was placed critically/misplaced, because depending what changes over time during the sessions, our mutation handler could reach there too (https://github.com/code-charity/youtube/blob/master/js%26css/web-accessible/init.js ) |
pause works fine in other extensions, just need to slightly rework where its being called youtube/js&css/web-accessible/www.youtube.com/player.js Lines 18 to 21 in 7014a79
I have no idea what its for, but its breaking autoplayDisable |
youtube/js&css/web-accessible/functions.js
Lines 246 to 258 in 2a88783
youtube/js&css/extension/init.js
Lines 58 to 65 in 2a88783
The text was updated successfully, but these errors were encountered: