Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2010
    Thanked 0 Times in 0 Posts

    Problem with MP3 player on website.

    Hey guys,

    I have a problem with my code. It is an MP3 player that I need on my website. Everything should be working fine, but there is 1 problem: The MP3 player starts automaticly while I DO have the autoStart function in my HTML.

    Here's my HTML
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>BLALALABLABLALAB - Official Site</title>
    <link href="Style.css" rel="stylesheet" type="text/css" />
    <div id="Wrapper">
    This website is under construction.
    <table width="100%" border="0">
        <td align="center"><img src="860854969_5_4Xl2.jpg" width="500" height="497" alt="BLABLALABAL" /></td>
    <script language="JavaScript" src="C:BLABLABLA\mp3Player.swf"></script>
    <object type="application/x-shockwave-flash" data="C:BLABLABLA\mp3Player.swf" id="audioplayer1" height="100" width="300">
    <param name="movie" value="C:BLABLABLA\mp3Player_black.swf">
    <param name="FlashVars" value="playerID=audioplayer1&soundFile=C:BLABLABLA\Set To Fail.mp3">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <param name="wmode" value="transparent">
    <param name='autoStart' value="false">
    And this is my MP3 player XML
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <music autoPlay="false">
    		<title><![CDATA[Set To Fail]]></title>
    		<mp3File><![CDATA[BLABLA\Set To Fail.mp3]]></mp3File>
    Please help me I really need this.

  2. #2
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Lancaster, UK
    Thanked 57 Times in 55 Posts
    Do you know if the Flash has been set up to have controls on it? One thing I know about Flash is that if you don't put controls in them, you can't add them outside of Flash (and because of this the video (or audio) will automatically play even with the autostart parameter set to false).
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts