LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Video clips in Firefox - "RTSP is not a registered protocol" (https://www.linuxquestions.org/questions/linux-general-1/video-clips-in-firefox-rtsp-is-not-a-registered-protocol-254139/)

rollo 11-12-2004 05:01 PM

Video clips in Firefox - "RTSP is not a registered protocol"
 
Clicking on a video clip at C-SPAN.org in Firefox produces this error message. In Konqueror there is no problem - the streaming MP3 clip loads into its linked application.

What is RTSP and how can this be fixed?

Thanks in advance.

rollo 11-15-2004 05:26 PM

Anyone?..
 
Okay I've worked out that RTSP is an established protocol (Real Time Streaming Protocol) which points to .ram files. It must be established because it's used everywhere on C-Span.org.

Still can't work out how to get Firefox to recognise it and let me access my .ram files.

Ideas..?

rollo 11-16-2004 05:53 PM

Solved
 
Okay, here's the solution. This should really be on the Firefox and RealPlayer sites.

Quote:

All internet addresses which begin with rtsp:// are to be opened via RealPlayer. Let's tell our browser to do so.

We have to create (only if doesn't exist yet) a file called user.js in the user's Firefox directory and add some lines. Mine is located at ~/.mozilla/firefox/1yxw9wmb.default/user.js. It should be put in the same directory where prefs.js is.

user_pref("network.protocol-handler.external.rtsp", true);
user_pref("network.protocol-handler.app.rtsp", "/usr/bin/realplay");
And then say yes to the dialog box that pops up the first time you call up using RTSP.

This, simpler solution may also work for some.

Quote:

add line:

user_pref("network.protocol-handler.app.rtsp","/usr/local/bin/realplay");

to file:

prefs.js

auditek747 11-16-2004 06:34 PM

You can do this a bit easier by using "about:config".
Type "about:config" in the FireFox address bar. (no quotes)
Right click and select:

new>string

Call it:

network.protocol-handler.app.rtsp

Hit enter, then call the string:

/usr/bin/realplay

or for me:

/usr/local/bin/mplayer

It only takes a couple of seconds.

rollo 11-17-2004 01:01 AM

Thanks
 
Thanks for that auditek747.

theonebeyond 11-17-2004 02:59 AM

Hi guys!

Your conversation helped me a lot! Thanks for that!


All times are GMT -5. The time now is 01:43 PM.