← Back to team overview

registry team mailing list archive

[Bug 323649] Re: Failure to open YouTube videos "Could Not Open Location; you might not have permission to play the file." misleading

 

Hi again,
I have now made some programming attempts. :-o
Managed quite a bit, I think, but couldn't fix the problem.

Firstly:
I located the the totem-2.30.2.tar.bz2 and downloaded it.
Opened the totem-youtube.c file (via browser) and copy pasted your patch to the right  line, and it was saved.

But still same error message in totem.

I thought it might be because the file i edited is not the file
'assigned' to be used by totem? That totem still uses the old one?

So I extracted all the files. But that didn't help. So I'm thinking I
need to 'connect' the new file somehow? searched 'computer' for the
location of totem-youtube.c and there is only the one I downloaded...?

Help?

Secondly:

I've also tried the fix further up in this thread:

" < mrl = "http://www.youtube.com/get_video?video_id="; + urllib.quote
(youtube_id) + "&t=" + urllib.quote (t_param) + self.get_fmt_string ()

> mrl = "http://www.youtube.com/get_video?video_id="; + urllib.quote
(youtube_id) + "&t=" + t_param + self.get_fmt_string () "

But once i've opened the file mentioned:

   "open the terminal from Applications - Accessories - Terminal - and type "cd /usr/lib/totem/plugins/youtube"
    once you are in the youtube directory, type "gksudo gedit youtube.py" which opens the config file with admin privs (so you    
    can save it later)
    within the file just opened, search for the original line shown in the patch (I just searched for "mrl" - it's near the bottom) -     
   then copy and paste the new line, replacing the old one)"

 - its empty....

When I go to /usr/lib/totem/plugins/youtube in browser window, there is
no youtube.py file there... I've searched file system and not found it.

Thirdly:
Does it matter that the two fixed are concerning two different versions of totem 2.26.1 and 2.30.2? I ve gone to totem in software center to find out which versionn I'm running, but found no informtion on it... 

Also, learning from another thread; i can't watch videos at all, not in
firefox links either. I've been  prompted to search for plugins accepted
and installed, without any change. So, I guess it is not (only) a totem
problem. Sometimes it says sth about mountpoint alredy busy (?) more
often 'do not have necessary permissions', and in totem too, and right
clicking open in web browser

- IT WORKS! (Not in totem, but in firefox!). must've done something
right :-)

-- 
Failure to open YouTube videos "Could Not Open Location; you might not have permission to play the file." misleading
https://bugs.launchpad.net/bugs/323649
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for GStreamer.