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

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

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)

Similar Messages

  • How can I force firefox to open every new window at full size of the screen ?

    When I firefox, it reloads my opened windows, but not always at full size.
    So I have to resize each window manualy.
    Is it possible to force firefox to open every window at full size of the screen ?
    Or is it possible to Maximize every window already open in one click ? (like the use of CTRL key in Windows)

    Try experimenting with this add-on: https://addons.mozilla.org/en-US/firefox/addon/default-fullzoom-level/
    By the way, if you have McAfee Site Advisor installed, disable it because it interferes with the way Firefox functions.

  • How can I stop Firefox from opening (to "File Not Found") when opening my Opera browser?

    Ever since I installed Opera 10.61 on my new computer (Windows 7 Ultimate operating system), whenever I open Opera, Firefox opens one second later with the following error message:
    '''File not found '''
    Firefox can't find the file at /C:/Users/Nasheed/AppData/Local/Opera/Opera/temporary_downloads/client-en.xml.
    * Check the file name for capitalization or other typing errors.
    * Check to see if the file was moved, renamed or deleted.
    TRY AGAIN.
    <nowiki>****************************************************</nowiki><br />
    This happens EVERY TIME I OPEN THE OPERA BROWSER. How can I stop this from happening? I'm stumped.
    [EXTRA INFO - I was unable to enable Firefox to access my previous profile on the new computer (despite putting the old profile in the appropriate Mozilla Firefox folder. So, there are now two profiles in that location.
    After reading the answer to another forum member's question, I attempted to resolve the problem using Profile Manager, but I was unable to locate the Profile Manager. The Windows "Search" feature is not enabled on my new computer (nor can it be enabled from the Customize Start Menu options).]

    Thank you for your response, Cor-el.
    I had Opera set as my default browser since this began happening. I changed my default browser back to Firefox mainly because having Firefox open one or two seconds every time I open Opera was/is such a nuisance.
    I believe this problem began because I attempted to manually transfer the files from my old computer to the new one (via the backed up files in my external drive). I was unfamiliar with Windows 7 when I did this. Microsoft changed the file set up from what I had been used to in Windows XP. I used XP for six years before being exposed to Windows 7 (I never had Vista).
    I'm almost sure this problem has something to do with where I placed the application data when I was trying to reestablish the program set up on the new computer.

  • How can I prevent Firefox from opening the file I create when I print a page with PDF Create! 5

    After I print a web page using PDF Create! 5, Firefox opens the file so i can view it. Before I print, I select print properties and disable "view resulting pdf". However, the file is always opened in Adobe Acrobat, although I believe I have Adobe Reader set as default. I do not want any file to open. This happens on my non-privileged accounts. On my privileged account, the file is not opened. I have removed Firefox profiles, re-installed Firefox, Reset Firefox in Help-Troubleshooting. PDF Create!5 print screen can only be viewed in a host program such as Firefox, Libre-office Writer, or any other program that prints. They do not open the file either.

    Thanks for your help. This is the Scansoft (Nuance) program. What I do not understand is why when I tell the print driver not to open the file with a privileged account, it obeys me. I am not sure where in the registry I would look for the information. I do not want to, but perhaps I should remove the Adobe Acrobat program (temporarily?) - then what would it do? Again, when I print from other programs - browsers, wordprocessors, etc - the file is not opened after printing, just with FireFox. I guess I can live with it, I have spent too much time already.

  • How can I get Firefox to open htm files?

    I have Firefox 3.6.13, and Windows XP. I can't open htm files. I went online, and followed all the directions for Changing the Default Program for a Specific File Extension in Windows XP, and see that Firefox is listed as the program that should open htm files, but I get a blank page when I try to open the file.

    Are that files that you have saved on your computer or web pages that you try to open?
    Are you opening the files with a double-click in Windows Explorer?
    See also http://kb.mozillazine.org/Windows_error_opening_Internet_shortcut_or_local_HTML_file_-_Firefox
    There are other things that need attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    # Shockwave Flash 10.1 r82
    # Next Generation Java Plug-in 1.6.0_21 for Mozilla browsers
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    Update the [[Adobe Reader]] plugin to the latest version.
    *http://get.adobe.com/reader/otherversions/

  • When I create a shortcut to a web page from FireFox to the desktop, how can I force Firefox to open from it when I.E. is default and has to stay that way?

    I have a customer that likes to use Firefox browser and does for all they can. Unfortunately they have to also us I.E. with some of their business companies so their browser is set to I.E. by default and must stay that way. Tried changing default for brevity we will just say opened to many other problems. SO, is there a way to create a short cut to the desktop from Firefox and force that shortcut to open with Firefox and not with the default browser IE?
    Thanks,
    Mark

    Hello,
    You can create a new Firefox shortcut on the desktop and add the website address after Firefox. For example:
    Under the shortcut tab, the target could read:
    * "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" "www.google.ca"

  • How can I force Firefox to open a new window (tab) a certain size. I need a smaller box but it always opens full screen.

    I get tired of having to click on the upper right box every time I need the smaller window, which is VERY frequently. I teach college online and need to see only a portion of the large screen as the rest may distract me while grading. This COULD prove unfair to my students.

    Don't know if this is the answer you want, but it gives you an idea of what you can do.
    * Using the window.open method<br>http://www.javascript-coder.com/window-popup/javascript-window-open.phtml
    You can resize an existing window with a bookmarklet, but you would have to be able to initiate the bookmarklet from the window.
    * javascript:self.resizeTo(642,364);self.moveTo(0,0);
    * http://dmcritchie.mvps.org/firefox/kws.htm look for "resize -" in the k.html file listed.

  • How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??

    How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??
    == This happened ==
    Every time Firefox opened

    Firefox can have multiple home pages if you wish. Each home page that will open when starting Firefox is separated by the "|" character.
    See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    To have new tabs open a specific web site, add one of the following extensions:
    http://sogame.awardspace.com/newtaburl/
    https://addons.mozilla.org/en-US/firefox/addon/777

  • In my received emails, how can I get Firefox to open URL links that begin with "click."?

    In my emails, how can I get Firefox to open links that begin with the word "click."? Instead of giving the me the message that says, for example, "Firefox can't find the server at click.americas.links.hp.com." This also happens when I try to open the links using Explorer.

    This link was not valid when I clicked it. Please contact the person sending these links they do not seem to work. The page takes me to a page that says it will load after 5 seconds, however there is not valid link.

  • How do I get firefox to open pdf files with Adobe reader instead of google?

    Firefox is unsucessfully using google to open pdf files.  How do I get firefox to open pdf files with Adobe reader?
    Message was edited by: veeryTalonted

    "Google" is a search engine (website) and NOT (repeat: NOT) a PDF viewer. It can't and won't open PDFs in any real or imaginable way.
    Firefox added their own proprietary PDF viewer with version 20 - they're on 21 now. I'll be the first to admit "it sucks". You CAN'T fill in PDF forms with it, and you can't email them from the page like with Opera, Safari or Chrome (which use the reader plug-in still).
    Unfortunately, the ONLY option you have now that they've added it and killed the ability for the Reader plug-in to work with Firefox, is Tools>Options>Applications - select Portable Document Format(PDF) and choose "Use Adobe Reader (Default)". What that will do is FORCE Firefox to download the PDF instead of opening it in their terrible PDF viewer in the browser window.
    Or... use one of the other browsers I mentioned. They're all free.

  • How can i force my mac book pro to use an external display

    how can i force my mac book pro to use an external display
    my screen is black

    What sort of adapter are you using?
    Clinton

  • How do I force safari to open pdf files using Adobe???

    How do I force safari to open pdf files using Adobe and not in the browser?

    You need Acrobat Reader as a Safari plug in.
    http://get.adobe.com/reader/

  • How can I stop Firefox from opening pdfs in Google Docs?

    Whenever I want to look at or download a webspage which is a Microsoft Word or a pdf document, I am automatically sent to Google Docs to view it. Mayvbe bexcauuse of my satellite connection, I cthen have huge problems in downloading these webpages. How can I disconnect Firefox from automatically opening these pages in Google Docs?

    Thanks for the suggestion. Unfortunately, these settings are exactly the same on my troublesome PC as they are on my laptop which does not have this problem. The PC is Windows 7, and laptop is XP. I have in the past used the PC to access google documents.

  • How can I force Firefox to remember my password on this site?

    The language learning site Tell Me More has a login at http://sr4.tellmemore.com/Login.aspx . My username and password are very long, and I would like to use the Firefox password manager to remember them. However, unlike with other sites, Firefox does not ask me if I want it to remember the password. How can I force it to do so?

    That looks like a normal password input form.
    Check that you haven't set a block exception.
    * Tools > Options > Security: Passwords: Exceptions
    You can also check if there are any entries for that site or entries with an empty name listed in the password manager.
    * Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    If you click "Never" then you create an exception that needs to be removed.
    See also:
    * Saved Password Editor: https://addons.mozilla.org/firefox/addon/saved-password-editor/

  • How can I force Firefox to override javascript when opening links with ctrl+click?

    There are certain sites that always open up a link in the active window despite said links being opened by ctrl+clicking it. Basically what happens is that a java script on the site forces the active window to load the link while at the same time Firefox follows the ctrl+click command and loads it in a new tab. You end up with two tabs with the same information and always have to go back in your original tab to be able to open other links.
    Usually you can open the link the way you want by right-clicking and selecting 'Open Link in New Tab' but for some reason ctrl+click is treated as if it was a regular click. How can I stop this from happening and force Firefox to ONLY load the new tab?
    This problem is not specific to the version of Firefox I'm using or the operating system, but seems to be caused by java script on the site. Disabling java scripts makes the problem go away but sometimes it also disables the sites.

    If you're trying to protect your browser from hackers, I'd recommend setting up a master password for your saved passwords. Other than that, your anti-virus and firewall are responsible for keeping your computer safe.
    If you're trying to protect your browser from someone else (i.e. somebody who can physically use the computer) just lock your entire computer with a password. If someone else has to use it, you could try letting them use the guest account.

Maybe you are looking for

  • Billing doc reference no

    while processing vf01 billing doc reference no xblnr is not coming what would be the possible cause for this plz tell

  • Poor LV6.1 webserver performanc​e

    Hi! I want to use the LV6.1 webserver to serve a static html site including some front panel images. All works as expected except the very poor performance even on the local system. I first suspected PC/WIn configuration problems but since two other

  • Deploy Applet

    I followed the deployment instructions in book 'Oracle JDeveloper'.--However, I am using JBuilder deployment wizard. 1. extract borland.jbcl.control.image and borland.jbcl.control.view.image to my project 2. to include all dependency classes 3. I als

  • Apple tv iphone6 connection

    apple tv iphone6 connection

  • BUMB Hard drive

    Ok, so I purchases a 2.0 Ghz Powermac G5 to accompany My 2.7 GHz G5, when I got the 2.0 home it kicked up fine, It was running OS X 10.5.8, I started installing some applications from disks and the hard drive wouldn't allow it. ( I bought this comput