Posts Tagged ‘firefox’

How to stream the rtsp protocol in Firefox

Friday, February 22nd, 2008

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.

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.