How to stream the rtsp protocol in Firefox
I wanted to view a link to an rtsp:// streaming video and I would get a prompt that totem was the default application to be used. I would click OK but then it failed to launch.
Instead, I wanted to make VLC the player of choice. It wasn’t a preference I could set using the Firefox GUI. So, I searched.
I’m using Feisty, but using modified instructions for Edgy worked. I simply replaced the call for the RealPlayer application with one for VLC.
- Read #How to install VLC Multimedia Player with plug-in for Mozilla Firefox
- Open your firefox.
- Type as url: about:config
Now just right click somewhere into the main window. A little box with options to choose will appear. Choose “new”, then “string”. Then copy the following line into the appearing text field:
network.protocol-handler.app.rtsp
Into the next text field copy this:
/usr/bin/X11/vlc
Now you do the same thing again, but this time you do not choose “string” but “boolean”, and the line to copy is:
network.protocol-handler.external.rtsp
Then set
true
I hope this helps someone.
August 13th, 2008 at 2:39 pm
hi,
thanks for this tip. under windows you need to register the protocol in the os, the scheme above only applies to linux and mac.
dietmar