Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I run into similar situations whenever I restart my browser. All of the YouTube tabs I had open from before start playing simultaneously (at any given time I often have some tabs with videos paused, ready for me to watch later). It's quite distracting and takes some effort to find and stop them all.

I think a good solution for both of our problems would be to not load any of the Flash content in a particular tab if the tab hasn't received focus since the application was restarted. Once I open that tab, the plugin can load at that point and then the video can start playing.



Firefox does something like this. It doesn't load tab content on restart until the tab gains focus.


Except for the tab that was active.


Even this becomes annoying when you have to wait for the page to load to see it's content and is heavy but not media content heavy. Something like Google+ or coursera pages.


I think it's a setting - maybe "browser.sessionstore.restore_hidden_tabs" ?


is it the default? I thought you had to explictly enable that


My solution was to switch to YouTube's HTML5 player. No more tabs crashing left and right.

And the YouTube Options extension is great, and solves the problem of auto play (besides adding a ton of extra features; downloads included).


Safari implements your solution. Though I wonder if it would even help if their Netflix tab was the focused one; for that case, it would also have to wait for some user interaction or something, which seems messier.


My solution to this is just to go into the Task Manager and kill the Flash plugin about 30 seconds after every restart (This saves a load of memory too). When I actually want to watch one of the videos, just reloading the page is enough to kick Flash back into gear.


I had the same problem, now I use https://chrome.google.com/webstore/detail/stop-autoplay-for-... so that if I open a tab in the background I don't have to manually pause the Youtube video or I if restore a chrome session like you said.


I use Flashblock in FF. You click on the flash then it starts to load.

https://addons.mozilla.org/en-US/firefox/addon/flashblock/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: