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
https://forums.phpfreaks.com/topic/223820-noob-to-php-why-doesnt-this-work/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.