I received a comment on my post “How to play YouTube Video in Ubuntu 9.04?” from email@example.com on August 26, 2009.
The Comment was –
when i click on a video to view it, it says -‘could not open location. you may not have permission to open the file. ‘
Then I had doubt it could be due to the wireless network, because now a days most of the people started using Laptops rather than using a Desktop PC. Most of the laptops have In-build wireless, which makes people easy to access network where ever they go.
I had never received such a error because I was using wired Internet connection.
Then I started Google, relating to that of wireless network and then found it is a bug and it has been resolved.
How did the problem solved ?
Download Patch to totem-plugins-2.26.1-0ubuntu5/youtube.py (565 bytes, text/plain) to desktop.
Copied the patch to /usr/lib/totem/plugins/youtube
$ cd /usr/lib/totem/plugins/youtube
$ sudo cp /home/user/Desktop/totem_plugins_youtube.py.patch .
Then patch the file youtube.py with totem_plugins_youtube.py.patch
$ sudo patch /usr/lib/totem/plugins/youtube/youtube.py totem_plugins_youtube.py.patch
Thus the patch fixes the error
”Could not open location; you might not have permission to open the file.” .
Now it works fine.
* I Thank all comments and credit for all my efforts to keep going.
For more info refer : How to play YouTube Video in Ubuntu 9.04?