Jump to content

Noob to PHP: Why doesn't this work?


j-mak

Recommended Posts

Hey, I have made a audio button in dreamweaver and copied the code into my php panel:

 

<script language="JavaScript" src="http://www.MYWEBSITE.com/myname/audio/audio-player.js"></script>

<object type="application/x-shockwave-flash" data="http://www.MYWEBSITE.com/media_folder/audio/player.swf" id="audioplayer1" height="24" width="290">

<param name="movie" value="http://www.MYWEBSITE.com/media_folder/audio/player.swf">

<param name="FlashVars" value="playerID=audioplayer1&soundFile=http://www.MYWEBSITE.com/media_folder/audio/Reconstructed Ancient Egyptian Melody.mp3">

<param name="quality" value="high">

<param name="menu" value="false">

<param name="wmode" value="transparent">

</object>

 

However once I press save, all that is saved is:

<script language="JavaScript" src="http://www.MYWEBSITE.com/myname/audio/audio-player.js"></script>

<object type="application/x-shockwave-flash" data="http://www.MYWEBSITE.com/media_folder/audio/player.swf" id="audioplayer1" height="24" width="290">

<param name="movie" value="http://www.MYWEBSITE.com/media_folder/audio/player.swf">

 

The audio button works however because the code which includes the mp3 file never saves, it can never find the audio file. Can anyone tell me why the audio file part of the code doesn't save?

 

Thanks.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.