j-mak Posted January 8, 2011 Share Posted January 8, 2011 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. Quote Link to comment Share on other sites More sharing options...
joel24 Posted January 9, 2011 Share Posted January 9, 2011 what is your 'php panel'?? What do you mean it never saves? You're trying to save it on your hard drive or this is some online application that you're entering this into? Quote Link to comment Share on other sites More sharing options...
j-mak Posted January 9, 2011 Author Share Posted January 9, 2011 I mean my 'admin panel' a friend has just told me that nobody but me calls it a 'php panel' I enter that code onto my admin panel and press save, but only a part of the code is there after it saves. Thanks. Quote Link to comment Share on other sites More sharing options...
joel24 Posted January 9, 2011 Share Posted January 9, 2011 I have not idea why it wouldn't be saving, so many possible scenarios. Try writing your scripts on your local computer, if you don't want to buy a program you can use free programs like Notepad++, then upload those files to your server. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.