Particle icon indicating copy to clipboard operation
Particle copied to clipboard

VIdeos autoplaying

Open Matthewus opened this issue 11 years ago • 23 comments

Hi! Some of the videos started autoplaying even though i did not change the settings. I tried to reset the settings and even reinstall the addon but the problem is still present. Some videos still do not autoplay. What can i do to find what causes the problem? I can see cross origin requests being blocked in the browser console, but i don't know what that means.

Matthewus avatar Sep 21 '15 10:09 Matthewus

https://greasyfork.org/en/scripts/593-yays-yet-another-youtube-script This script uses a different method to disable autoplay? Because this works wiith Noscript blocking doubleclick.

Matthewus avatar Sep 21 '15 19:09 Matthewus

@Matthewus That is correct, YAYS does not make use of the default player functions to control its playback initialization, instead it stops the video after it starts playing (but this happens so fast that it looks like it never started).

While it works for this purpose, it has (or had, last time I checked) a few side effects; sporadic player errors, conflicts while in fullscreen and while playing playlists, increase in memory usage and relies on a function that might be removed by YouTube without notice. And I don't even know if it causes erratic behavior with other software like Video Resumer.

ParticleCore avatar Sep 21 '15 19:09 ParticleCore

I think I might have found a possible conflict. In YT+ go to the settings > Video > Player settings and enable Disable advertisements in the video page. Refresh the page and see if the video still autoplays.

Oh wow, thanks for that. I was really annoyed that nearly every video started autoplaying. You should maybe write that info somwhere on your github page and write something in the settings for this option (and/or the "stop autoplay" option) to tell users to enable it when NS is installed to make the "stop autoplay" function works.

btw, sorry to hear that stuff with AMO, but they will fuck up their addon system anyway (and thus destroying FF) in some versions and you would have had to re-code your whole addon anyway.

ganego avatar Sep 26 '15 19:09 ganego