Saturday, December 19, 2009

How to make google chrome browser play youtube.com video with sound in Linux Ubuntu 9.1

"No Sound!!!" When playing youtube.com video with google chrome in Ubuntu 9.1.

Here is how I solved it:

# sudo ln -s /usr/lib/mozilla/plugins /opt/google/chrome/plugins

Close/restart chrome browser.

Voila!! there's sound when playing youtube.com video

15 comments:

Martin said...

What an amazing and simple fix. Worked perfectly on Karmic. Thanks!

It remains to be seen if I can leave Firefox for Chrome. :-)

Unknown said...

Awesome!! Been looking around for a fix for this for ages ....

jake said...

Thanks so much. Ive been looking for this fix for a while. For some reason, Chrome was trying to use an older version of flash.

Unknown said...

Cheers! This is why I love Ubuntu and the open source community.

Unknown said...

Worked perfectly. Thanks!

John Watne said...

Thank you so much! I'd been working on this intermittently for a few weeks, and this worked perfectly.

Unknown said...

Excellent!
Thank you very much!!

svs said...

awesome. mine was /usr/lib/chromium-browser/plugins but yeah, the same general concept.

bye bye firefox...no wait - firebug still rules...

Unknown said...

Works fine for me too.
THX !

Unknown said...

please explain how to do this part

# sudo ln -s /usr/lib/mozilla/plugins /opt/google/chrome/plugins

just copay and paste? where?

thank you

Jens said...
This comment has been removed by the author.
Jens said...

Gött mos,

In my JoliCloud 1.2 case the link name is /usr/lib/nickel-browser/plugins

Gemsroadwarrior said...

I have the same question as John. What do I do with this script? Some of us are new with this and are not the Ubuntu geniuses that the rest of you are. Thanks for any help.

Unknown said...

thanks for the fix :)

Andrew

csimmons said...

@John @gemsroadwarrior
First, you need to open a terminal window. The Gnome Menu (the window UI Menu) should have an "Accessories" section and a "terminal" application. Click on the "terminal" application icon and a terminal window should open.

You then want to copy-paste "sudo ln -s /usr/lib/mozilla/plugins /opt/google/chrome/plugins" (the stuff between the quote marks) into the terminal window and hit return. You should be prompted to type in your password.

'sudo' is "super user do" which means the command will be executed with root permissions.

"ln" creates a symbolic link in the filesystem. It makes the path "/opt/google/chrome/plugins" resolve to the path "/usr/lib/mozilla/plugins" when chrome tries to open the path.

'sudo' can be dangerous. e.g. there is a fairly simple command, which, if executed as root, will erase all the files on your drive.