1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

How to Play Mid files in Firefox

Discussion in 'Firefox, Thunderbird & SeaMonkey' started by cypherman, 2005/11/05.

  1. 2005/11/05
    cypherman

    cypherman Inactive Thread Starter

    Joined:
    2005/11/05
    Messages:
    1
    Likes Received:
    0
    I play a lot of mid files in my html pages on netscape and IE
    When I use fire fox, most everything works but don't hear the music
    This works for Netscape
    <EMBED SRC=HTTP://cryptoman.com/furelise.mid HIDDEN=TRUE
    LOOP=FALSE>
    This works for IE
    <BGSOUND SRC=HTTP://cryptoman.com/furelise.mid LOOP=INFINITE>
    Want to know how to do it with firefox
    Both statements are in the HTML document
    I have updated and installed all the plugins recommended
    Dont see anything on the faqs and tips about this
    Thanks
    John Holt
     
  2. 2005/11/05
    Ramona

    Ramona Geek Member Alumni

    Joined:
    2001/12/31
    Messages:
    7,481
    Likes Received:
    2
    Welcome to the Forum, cypherman!

    John,

    I use the "Object" tag on embedded mid files. Check this page in Firefox, and you will see that it works:
    http://home.att.net/~cherokee68/testsound.html

    Works in ALL Gecko browsers, plus Opera and IE:
    Code:
    <OBJECT ID=Crescendo CLASSID= "clsid:0FC6BF2B-E16A-11CF-AB2E-0080AD08A326" 
    WIDTH= "200" HEIGHT= "55 "
    	><PARAM name= "src"        VALUE= "furelise.mid ">
    	<PARAM name= "autoplay"   VALUE= "true ">
    	<PARAM name= "controller" VALUE= "true ">
        <PARAM NAME= "volume"     VALUE= "100 ">
        <PARAM NAME= "type"       VALUE= "audio/x-mid ">
    <EMBED SRC= "furelise.mid" 
    	TYPE= "audio/x-mid "
    	WIDTH= "200" 
    	HEIGHT= "55 
    	VOLUME= "100
    	AUTOPLAY= "true" 
    	CONTROLLER= "true" 
    	></EMBED>
    </OBJECT>
    NOTE: I use Crescendo for mid files. If you use another media player then use that Class Identifier (CLSID). Example:

    QuickTime
    <OBJECT CLASSID= "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH= "160 "HEIGHT= "144 "
    I find that QT doesn't play mid files very well, altho you may have better luck.

    Windows Media Player
    Code:
    <object classid= "CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6 "
            type= "application/x-oleobject" width= "280" height= "67 "
            codebase= "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 "
                 standby= "Loading Microsoft Windows Media Player components... ">
            <param name= "url" value= "furelise.mid ">
            <param name= "autostart" value= "true ">
    
            <param name= "ShowStatusBar" value= "true ">
            <param name= "volume" value= "100 ">
    <!-- For other browsers * default player -->
            <!--[if !IE]> <-->
            <object data= "furelise.mid" type= "audio/midi" height= "55" width= "200 "> 
           <param name= "autostart" value= "true ">
         </object>
         <!--> <![endif]-->
        </object></center> 
    You don't have to show the entire link for your file, as long as it is uploaded to the same page. I have added your mid file, so the code is ready to be copied and pasted...

    For more information on the OBJECT element, see: The W3C Web site (http://www.w3.org/TR/REC-html40/struct/objects.html#edef-OBJECT)

    http://www.w3schools.com/media/media_soundformats.asp
     

  3. to hide this advert.

  4. 2005/11/15
    Eck

    Eck Inactive

    Joined:
    2002/08/17
    Messages:
    198
    Likes Received:
    0
    I too found Quicktime wanting for midi, but there is a way to get it to use the computer's default General Midi within Quicktime instead of its default setting of the horrible Quicktime Music Synthesizer.

    This is good if you have a pleasant sounding driver like a Creative card with Soundfont's, a Yamaha S-YXG50, etc.

    Enter the Quicktime preferences in Control Panel and choose Music in the dropdown. Change the bubble from the Quicktime Synthesizer to General Midi. From now on Quicktime will use whatever your system's driver for midi is set to in the Sounds and Audio Devices Control Panel.

    This avoids needing a separate plugin like Crescendo.

    Still, I'm not too happy with Quicktime right now. Version 7 breaks my Captain's Chair Star Trek bridge tour. Would ya believe I didn't know that and went back to 98SE because I wanted a few minutes of touring the bridge? I think all I needed to do was get rid of Quicktime 7 and reinstall Quicktime 6.5.2.

    What is with Apple never making newer versions of Quicktime compatible with older programs that use it? There are times when I need 2.0.8, 2.1.2.59, and 6.5.2 all installed at the same time if I want all my stuff to work. Now, the latest version 7 actually prevents the older stuff from running. And at the same time websites are posting files that will only play in version 7.

    If I go into some of these game's folders, the files will play, most of the time, in the newer Quicktime player's, but unfortunately these games won't interface with Quicktime unless the specific version they designed it for is installed.

    They just want us to throw out our old software and buy all new stuff, don't they? Personally, I'd rather play Pac-Man, pinball, or Carmen Sandiego than shoot at creatures with pretty scenary!
     
    Eck,
    #3
  5. 2005/11/15
    Ramona

    Ramona Geek Member Alumni

    Joined:
    2001/12/31
    Messages:
    7,481
    Likes Received:
    2
    Eck,

    Thanks so much for the info, and I think I'll give it a shot, as the media player thing gets to be ridiculous after a while.
     
  6. 2005/11/16
    Westside

    Westside Inactive Alumni

    Joined:
    2003/03/30
    Messages:
    4,506
    Likes Received:
    14
    Ramona, that's why I say that it "de fault" rather than default.
    It irritates me to see those media players which open, because they default for a certain type of file, and then the Media player says: Duh? (I doen't, but I wish it would).
     
  7. 2005/11/25
    Eck

    Eck Inactive

    Joined:
    2002/08/17
    Messages:
    198
    Likes Received:
    0
    Just letting you know it wasn't Quicktime 7 that broke Captain's Chair. On XPSP2 again here and Quicktime 6.5.2 being installed doesn't enable the game to open correctly either.

    Removed Quicktime 6 and reinstalled 7.0.3. Still getting the Shockwave Director crash on the game when clicking to open one of the bridge's. It uses Shockwave Director in combination with Quicktime VR to run, and something in XPSP2 isn't letting it.

    Just for fun, I let the Microsoft Error Report get sent twice. I usually don't bother with that but I might as well let them know.

    I uninstalled and reinstalled Flash 8 and Shockwave 10.1, and the older Quicktime 2.1.2.59 that the game needs just to be sure it all is installed proper. Quicktime 7.0.3 does keep the file associations but on any Windows from 98 to XPSP1 this allowed the game to work. No go on SP2.

    The files in the game actually play in Quicktime if I doubleclick the movies from the game's folder. It's the Shockwave Director interface that is gumming up the works. Something isn't letting it run.

    But I have other programs that use the older Director shell to run and they're working fine. I do need to run them in 98Me Compatibility Mode where I hadn't needed that before XPSP2, but they run. All web stuff works too. It's just Captain's Chair. Tried all Display resolutions, lowering hardware acceleration, all different compatibility mode settings and it's no use.

    Me and Shockwave have had a lot of interesting experiences through the years, eh?

    I didn't want to hijack the thread, but I had responded here suggesting applying General Midi to Quicktime (works great!) and had mentioned the game problem. I just wanted to update my progress and let you know it wasn't Quicktime 7 causing the problem.
     
    Eck,
    #6
  8. 2005/11/27
    Westside

    Westside Inactive Alumni

    Joined:
    2003/03/30
    Messages:
    4,506
    Likes Received:
    14
    I would like to restore order in Thunderbird

    I have two profile in Thunderbird. One, the default profile was abandoned, when things started to go crazy last May. I ended up creating a new profile, for the now TB1.0.7.
    Since then, I was able to resurrect my default profile, for the TB1.5 nightlies.
    I took a look at my C:\Documents and Settings\user_name\Application Data\Thunderbird\Profiles in my XP, and there was an appalling mess.
    I saw the following:C:\Documents and Settings\user_name\Application Data\Thunderbird\Profiles\default\74emyd73.slt last used almost one year ago, with no mail account set up. It seems to have been, perhaps an old format.
    Then, C:\Documents and Settings\Fulvio Perini\Application Data\Thunderbird\Profiles\74emyd73.default used last in May 2005, probably at the time when things started going crazy. Noticed that the alphanumberic is the same for both defaults.
    Then there is the newly created profile, which has been working for 1.0.7.
    But when I open C:\Documents and Settings\Fulvio Perini\Application Data\Thunderbird\Profiles\ I am confronted with all the files normally found in a profile, but they are just there loose. Those are the files which I am currently using for TB1.5.
    Then to make things more interesting I discovered more stuff in a folder which I never created, C:\Documents and Settings\user_name\My Documents\New Office Files. In fact, it is everything I would find in xxxxxx.default, just like the Thunderbird profile folder has "loose" file.
    In pite of this nuttiness, all is working pretty well, except that the two problems get tangled up, i.e. I use one, but I cannot open the other one, after closing the first.
    I want to restore some order, remove all extra junk, and have only tow folders in my C:\Documents and Settings\user_name\Application Data\Thunderbird\Profiles\, i.e. my present working program, and another xxxxx.default, or whatever. Then, I would like to eliminate all the extra stuff.
    Do I need a xxxx.default folder, and could just create another one, and bring in this mess to a close?
    Is it confusing enough?
     
  9. 2005/11/27
    captjlddavis

    captjlddavis Well-Known Member

    Joined:
    2002/09/13
    Messages:
    588
    Likes Received:
    3
    Westside, Good day

    I see no reason to have ANY profile named "default" - in ANY profile folder.

    I avoid using that particular "name" as it just ads to the confusion.

    On any NEW install of FF or TB, I create a NEW profile with a discriptive name to indicate the version. eg
    jld_tb_1.5rc1 - indicating the version of TB.

    I do not use UPPER case or have any white space in the profile name.

    I delete any errant profiles named "default" or variations thereof via PM

    My Profile.ini does not show anything other than profiles that I have created.

    Profile.ini can be edited to ONLY show those that are valid.

    I remove all traces of profiles on the HD that are not reflected in the profile.ini

    But that is just my system - yours may be different and work for you.

    HTH

    regards:captjlddavis
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.