inbasic / iyccenter

YouTube Control Center provides a set of useful tools for YouTube.com
http://add0n.com/control-center.html
Other
48 stars 37 forks source link

Disabling "Autoplay video when player loads" does not always work with Flash player #54

Open dark-penguin opened 8 years ago

dark-penguin commented 8 years ago

I'm using Flash Player for watching YouTube (via one of the other plugins). I have disabled the "Autoplay video when player loads" option.

I start Firefox with all tabs unloaded until I click them. When I do click them, the videos play immediately. The same happens when I "Undo Close Tab".

If I "reload" the tab, or when I click on some other YouTube video, then it is stopped. Also, it seems to work fine with HTML5 player.

I've tested this in Debian Wheezy, Windows 7 and Windows XP with Firefox 44 (and 43 on XP - for some reason, that was the default one for XP). All of them are x86.

dark-penguin commented 8 years ago

I see that the next video in a playlist also plays even if it shouldn't according to the settings. This happens no matter how the first video was opened (in a "good" or "bad" way) and both in Flash Player and HTML5.

(I realize it's kind of a different issue, not to mention already posted before, but to my limited understanding, it may very well be the same problem: something like failure to intercept the player. So it may be relevant.)

Phillip-Bromley commented 8 years ago

I have this issue in Linux Mint 17 with Firefox 48.0. When a new video loads, sometimes it will play a couple seconds before it gets paused. I have also noticed that when I go to a channel's main page, the video still autoplays all the way through.

dark-penguin commented 8 years ago

This is not the same. As far as I understand, when a video is loaded in the "stopped" state, it is supposed to appear in that "embedded" fashion with a big YouTube button in the center, requiring that you click on it in order to play the video. And so, sometimes videos did not load in that "embedded" state and played "all the way" immediately.

I've tried it again, with both Firefox and plugins automatically updated to the version they automatically update to (Firefox 45.0.2 and YouTube Control Center 0.3.6). This issue seems to be fixed now! However, now if you disable "Autoplay videos" and enable "Autobuffer even when it's not playing", then something clumsy happens. First, the video loads in the "embedded" state - and, of course, no buffering is possible in this way, which defeats the purpose of the second option. Then, you click it, and it goes into the "normal" state and starts buffering... but not playing. You have to click it again to make it play, which means you have to click videos twice in order to play it, which is not very convenient.