Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I make Firefox run vlc with URL?

  • 5 replies
  • 2 have this problem
  • 2 views
  • Paskiausią atsakymą parašė jtgd

more options

I have a server that delivers media via HTTP (or FTP). If I click on a link, it downloads to /tmp and then plays in vlc, but what I want is for it to run vlc and give it the URL so that it will play it as a stream. I am generating the HTML and I'm using thttpd for the server. If I do it manually (Copy Link Location, paste into vlc) it works fine, but I'd like click-and-play. I've Googled for hours and can't even see the topic addressed. This is possible, right?

(Lucid-64, XFCE, Firefox 4.0b11, thttpd, vlc 1.0.6)

I have a server that delivers media via HTTP (or FTP). If I click on a link, it downloads to /tmp and then plays in vlc, but what I want is for it to run vlc and give it the URL so that it will play it as a stream. I am generating the HTML and I'm using thttpd for the server. If I do it manually (Copy Link Location, paste into vlc) it works fine, but I'd like click-and-play. I've Googled for hours and can't even see the topic addressed. This is possible, right? (Lucid-64, XFCE, Firefox 4.0b11, thttpd, vlc 1.0.6)

All Replies (5)

more options

I'm not sure that I understand what you try to do.

If you click a link that isn't handles by a plugin then you get an "Open with" download pop-up dialog.
That dialog doesn't allow to copy the URL to the location bar.

See "File handling in Firefox 3 and SeaMonkey 2"

more options

The "open with" tells it what to do with the file after it downloads it. I don't want it to download, I want it to stream (which vlc will do if you give it a URL). I want it to run vlc with the command line:

vlc <URL>

Thanks for your help.

more options

If the file is send with a proper MIME type than you should be able to set an automatic action and clicking the link is sufficient to pass the link to the VLC program without seeing a download dialog. That works for me with RealPlayer (ram, rm) files on Linux.

more options

Well I haven't found a way to make it do that yet, that's why I'm here asking. Hopefully somebody knows how to do it.

Everything I can see about applications specifies an action to perform on the file after it is downloaded.

I was hoping that defining a new protocol would work. I went into about:config and set up everything I could find to make vlc:// work as a protocol handler, but it didn't work. Maybe somebody knows how to make that work.

more options

I did figure out how to make Firefox run vlc with the URL, but it was by defining a protocol so I could say "vlc://..." This will indeed run vlc and hand it the protocol, but vlc doesn't know how to handle a URL like "vlc://...".

Another solution I fould was to have my page download a little .XSPF file which had the URL in it. vlc knows how to parse this file and it will play the video.