How to play youtube videos in totem
An important feature of most of the open source softwares, which we normally overlook are provided by them in the form of plugins. Take pidgin and totem as examples.. have you ever tried to look into the plugins they provide and see what extra functionality can we add to the software. I guess the answer is NO!!. Anyway, in this article I will tell you how to browse/play youtube videos in totem.
And before starting.. let me tell you that this plugin is developed by Philip Withnall, to see his article take a look at the references below.
Now, open totem and go to Edit => plugins. You will see this window.. jst check youtube and close it.
Open the sidebar (click on the sidebar button at the right bottom corner of player). Click on the drop down box and select youtube.

Now, enter the query you want to search and hit find. You will see something like this..

Click on the video you want to play or right click and select add to playlist. It should start playing the video. If it doesn't and you see an error like this.

Then this is probably because of some bug in the youtube script. To fix it open the file /usr/lib/totem/plugins/youtube/youtube.py
[shredder12]$ sudo gedit /usr/lib/totem/plugins/youtube/youtube.py
Go to the 337 line which is

then change urllib.quote (t_param) to t_param and your file will then look like this.
Save the file and restart totem. You should be able to play videos now.

Now, enjoy youtube with Totem :) ..
References: Philip Withnall's article,





leading to firefox slowing down. So, I was forced to close down a few firefox windows. I hated that because I never get an option to save those tabs. And this might happen to you as well.





















3 Comments
Post new comment