jackun / VLCTube

The Unlicense
15 stars 4 forks source link

quickly browsing between multiple youtube channels may cause an unpredictable but not permanent long hang on FireFox in windows 7 and maybe others #41

Open Sonic0170 opened 9 years ago

Sonic0170 commented 9 years ago

i have noticed that when im jumping around youtube channels, (browsing recently uploaded videos, or hopping around random channels to see what they have) the script causes the plugin to be loaded repeatedly sometimes causing a long hang up to 2 minutes and when it doesn't hang, load times for pages seem to increase by a noticeable amount due to the plugin reloading over and over.

now if the slight slowdown was the only issue i wouldn't bother saying anything, but the occasional 2 minute hang is bad.

this only happens when I jump between channel's when the address bar is in the /user/ area of the page on the URL, I personally have already set a custom user exclude with greasemonkey which bypasses and doesn't modify the script, so for me this isn't an issue, but i assume for others this could be a problem, so i thought i would tell you about it, since we are well aware that many people would not think of excluding youtube.tld/user/ or even know this option exists without modifying the script, or even know what exclude and include mean in a script.

this hang happens at random, it can happen when i move from one channel to another which would be just one jump and it can happen after 20 jumps or any amount in between, which makes it unpredictable (i don't use subscription notices, i just make a bunch of internet shortcut's and load each one by one to check for new videos, so its possible this issue is unique to me).

I know for a fact that this is not a bug and VLC plugin is programmed to load each time it is called by default since mozilla never intended what this script uses it for, unlike flash/HTML5 player which is preloaded into memory semi-permanently by default the very second firefox is launched to avoid this loading issue.

its possible that you will find this as a non-issue and prefer to keep youtube.tld/user/ in the included area and if so then please mark this issue as "won't fix" and close it, since i already have set this exclude in the way provided by greasemonkey, that way anyone encountering this issue will know its already be covered.

jackun commented 9 years ago

So you have SPF disabled (no red loading bar)? SPF might be better then, but with it the script still randomly breaks stuff (images may not load etc.) Old "User videos" script disabled it.

Sonic0170 commented 9 years ago

im not sure what SPF is, could you clarify?

jackun commented 9 years ago

https://www.google.com/events/io/io14videos/a42fc4f8-3bbc-e311-b297-00155d5066d7 Newer fancy word for AJAX, lel.

Sonic0170 commented 9 years ago

OH! i get it, so it loads the youtube HTML5 player by default and stays loaded as long as i never leave youtube. since i have only now heard of SPF, then no i don't have it disabled, all i know is when i excluded the /user/ part of the youtube.tld url the hang never happens and youtube pages load far faster.

like i said i assume its the VLC plugin by design and can't be helped and the html5 player, since its built into firefox, wouldn't have the same issue as VLC which its a 3rd party plugin that has to be loaded when requested by a page.

.... im starting to hate that close issue button

Sonic0170 commented 9 years ago

wouldn't SPF be incompatible with the VLC plugin?

jackun commented 9 years ago

In theory no. But as youtube changes stuff everyday it may break randomly.

Sonic0170 commented 9 years ago

oh i see, well for me that url is excluded so im ok. also this issue has been around for me since i started using your script which is back in the userscript.org days and for some reason i never gave it much thought, its probably cause im used to playing with beta stuff and got used to patiently waiting for slow downs and hangs to pass lol

Sonic0170 commented 9 years ago

omg im gonna ram my head through a wall over that button O.o