Die Funktionalität dieser Website ist durch Wartungsarbeiten eingeschränkt, die Ihr Erlebnis verbessern sollen. Wenn ein Artikel Ihr Problem nicht löst und Sie eine Frage stellen möchten, können Sie unsere Gemeinschaft über @FirefoxSupport auf Twitter, /r/firefox oder Reddit fragen.

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

How can I force Firefox to open webm files in a external application like mplayer?

  • 2 Antworten
  • 5 haben dieses Problem
  • 4 Aufrufe
  • Letzte Antwort von cor-el

more options

I want to open webm files from browsing sites (for example tagesschau.de) in mplayer through 'xterm -e' where I set a specific placement of the window and other parameters. Setting media.webm.enabled to false only disabled internal player, but does not open any option under Preferences -> File Types. Playing with advanced configuration I tried creating media.webm.handler{,default,application} according to other file type that are set to external applications. No luck. I have set mp4 files to use the same script (with execution permission) and it works exactly as I want.

Script:

#!/bin/bash
FILENAME="`basename "$@"`"
xterm -fs 24 -bg black -fg white -title "$FILENAME" -geometry 96x8 -e "echo \"$FILENAME\"'\\nfrom\\n'\"$@\" && \
mplayer -geometry 100%:100% -vf dsize=400:-3 -volume 80 \"$@\" "

The script itself works when I feed it a webm url (or any other media for that fact).

Linux 3.9.9-1-ARCH x86_64 GNU/Linux

I want to open webm files from browsing sites (for example tagesschau.de) in mplayer through 'xterm -e' where I set a specific placement of the window and other parameters. Setting media.webm.enabled to false only disabled internal player, but does not open any option under Preferences -> File Types. Playing with advanced configuration I tried creating media.webm.handler{,default,application} according to other file type that are set to external applications. No luck. I have set mp4 files to use the same script (with execution permission) and it works exactly as I want. Script: <pre><nowiki>#!/bin/bash FILENAME="`basename "$@"`" xterm -fs 24 -bg black -fg white -title "$FILENAME" -geometry 96x8 -e "echo \"$FILENAME\"'\\nfrom\\n'\"$@\" && \ mplayer -geometry 100%:100% -vf dsize=400:-3 -volume 80 \"$@\" "</nowiki></pre> The script itself works when I feed it a webm url (or any other media for that fact). Linux 3.9.9-1-ARCH x86_64 GNU/Linux

Geändert am von cor-el

Alle Antworten (2)

more options

I don't know about linux cos i'm win user. But you may start with disabling internal webm support. about:config -> media.webm and then I think you should install greasemonkey addon and custom script for playing content in 3rd partys players. (At least that is my configuration. I'm using VLC for youtube)

more options

This acript will only work with a link,but not with embedded content (embed or object element).
Such embedded content requires a plugin.