Ubuntu – Strange behavior of flash in Google Chrome

google-chromeyoutube

I have the last version of Chrome 5.0.xx. and my Ubuntu is also of the last version 10.04.
What I usually do is to open two instances of Chrome and divide the screen into two parts. In one part my son watches cartoons in Youtube and in the other part I just read some news.

So, sometimes, when I close some pages of the news I have being read the video which was being played in youtube crashes and immediately stops. I need to refresh youtube page and see the video again.

What is the problem? How to solve it

Best Answer

The problem is most likely caused by the flash plugin crashing. Chrome is protected through separation from crashing itself, but the effect is visible the way you described. Since Flash player is proprietary software, there is no way to directly fix the problem. Although there are numerous workarounds floating around the internet. None of these workarounds are complete fixes and only fix specific issues.

More generic solution is to utilize the HTML5 feature of chrome. Various websites allow one to enable the HTML5 features. Youtube can be HTML5 enabled here: http://youtube.com/html5

There are also HTML5 enabling extensions for chrome that convert embedded videos to HTML5 elements where applicable and so reduce the amount of flash elements in websites.