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.

music doesn't play in Thunderbird emails

Discussion in 'Firefox, Thunderbird & SeaMonkey' started by rebecca, 2005/11/16.

  1. 2005/11/16
    rebecca Contributing Member

    rebecca Well-Known Member Thread Starter

    Joined:
    2004/07/31
    Messages:
    655
    Likes Received:
    1
    Once in a while I receive emails with "stationery" (i.e., a picture or pattern in the background of the message) and 'embedded' music. The stationery shows up fine, but the only way I even know there's music attached is that a .wav file shows up in my Attachment box. If I save the email as an .eml file, and then double-click on it from there, the email is opened in Outlook Express, and the music instantly starts playing.
    Are there settings in Thunderbird that I can change so that the music will play in TB as well, or is that a feature that only works in OE?
     
  2. 2005/11/16
    Ramona

    Ramona Geek Member Alumni

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

    You can hear the embedded wav/mid files in Thunderbird, b u t... only if the message is from another gecko mail client. OE to Gecko, etc., doesn't work.

    There is a code you must use, however. If you're interested, I'll be glad to post that code. I was given the code on the netscape.test.multimedia, secnews Newsgroup.
     

  3. to hide this advert.

  4. 2005/11/18
    rebecca Contributing Member

    rebecca Well-Known Member Thread Starter

    Joined:
    2004/07/31
    Messages:
    655
    Likes Received:
    1
    Thanks for the reply, Ramona. At the mere mention of the word "code ", my brain shuts down - I'm just not computer-savvy enough to venture down that road yet! I appreciate your offer to share, but I'll just forego the music for now. :)
     
  5. 2005/11/18
    Westside

    Westside Inactive Alumni

    Joined:
    2003/03/30
    Messages:
    4,506
    Likes Received:
    14
    Ramona,
    I never received such e-mails, so I would not know even if I have a code, but is the file embedded in TB, or can it downloaded, and opened with Firefox. I am also thinking of the Media Player Connectivity extention in Firefox, which, usually works well, opening WMP when clicking embedded .wav files.
    The extention does not work well when there are strung embedded files, of the type which start with an ad, or separate message. I did much cussing with it at vh1.com, when I saw the same ad eight times, and never saw the video.
    Please give the code, even if I will have to twist some arm to see it work.
     
  6. 2005/11/18
    Ramona

    Ramona Geek Member Alumni

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

    The code is for sending an embedded sound file from one Gecko Browser to the other. It must be inserted, using the Insert | HTML option:
    Code:
    <div
    style= "background-color: gray; height: 32px; width: 32px; "
    id= "console ">
    <div id= "linktext "><a id= "media "
    href=Insert Link Here<big>♫</big></a></div>
    <script type= "text/javascript ">
    var tagh; var tagw; var mimeType;
    if (document.getElementById) {
    var mconsole = document.getElementById( "console ").style;
    var fileURL = document.getElementById( "media ").href;
    var urllength = fileURL.length;
    var last3 = fileURL.substring(urllength-3,urllength);
    mconsole.backgroundColor =  "transparent ";
    }
    
    function ResizeConsole() {
    if (last3 ==  "swf ") {
    tagh =  "600px "; tagw =  "800px ";
    PlayMedia();
    }
    else if (navigator.userAgent.indexOf( "Mac ")!=-1) {
    if (last3 ==  "mp3" || last3 ==  "wav ") {
    mconsole.height= "3em "; mconsole.width= "10em ";
    document.write('Please click note to play.');
    }
    else {
    tagh= "16px "; tagw= "144px ";
    PlayMedia();
    }
    }
    else if (navigator.userAgent.indexOf( "Win ")!=-1) {
    tagh= "60px "; tagw= "144px ";
    if (last3 ==  "mid" || last3 ==  "idi" || last3 ==  "mp3 ") {
    if (navigator.mimeTypes[ "music/crescendo"] != null) {
    tagh= "16px "; tagw= "16px ";}
    }
    PlayMedia();
    }
    else {
    mconsole.height= "3em "; mconsole.width= "10em ";
    document.write('Please click note to play.');
    }
    }
    
    function PlayMedia() {
    mconsole.height = tagh; mconsole.width = tagw;
    document.getElementById( "linktext ").style.display =  "none ";
    if (last3 ==  "mid" || last3 ==  "idi ")
    document.write('<embed src= "' + fileURL + '" type= "audio/x-midi "');
    else if (last3 ==  "wav ")
    document.write('<embed src= "' + fileURL + '" type= "audio/x-wave "');
    else document.write('<embed src= "' + fileURL + '" ');
    document.write(' autostart= "true" loop= "false "');
    document.write(' height= "' + tagh +'" width= "' + tagw + ' ">');
    }
    
    ResizeConsole();
    
    // Gecko Embedding System (GES)
    // Version 1.0 by Joji Ikeda 2005/05/05
    // Multiple content-type selection added JoeS 03/08/05. Thanks!
    
    </script>
    </div>
    
     

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.