HTML - How To Add Music Files
hi guys..
hope sm1 gonna sort out my problem i am just a beginner to html script,and my problem is that i smhow manage to get script to include media player into my webpage but i am not able to add song file into in it for e.g if i want to add akon.mp3 or any other song i am not able to do it hope sm will help me thanx in advance script is here Code: <!-- Multi WM Player at www.rainbow.arch.scriptmania.com/scripts/music/ --> <OBJECT ID="music" height=70 width=230 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=,1,52,701" standby="Loading Microsoft Windows Media Player components..." <!-- Change to value=0 to hide status --> <param name="ShowStatusBar" value="1"> <param name="AudioStream" value="-1"> <param name="AutoSize" value="0"> <param name="AutoStart" value="-1"> <param name="AnimationAtStart" value="-1"> <param name="AllowScan" value="-1"> <param name="AllowChangeDisplaySize" value="-1"> <param name="AutoRewind" value="-1"> <param name="Balance" value="0"> <param name="BaseURL" value> <param name="BufferingTime" value="5"> <param name="CaptioningID" value> <param name="ClickToPlay" value="-1"> <param name="CursorType" value="0"> <param name="CurrentPosition" value="-1"> <param name="CurrentMarker" value="0"> <param name="DefaultFrame" value> <param name="DisplayBackColor" value="0"> <param name="DisplayForeColor" value="16777215"> <param name="DisplayMode" value="0"> <param name="DisplaySize" value="0"> <param name="Enabled" value="-1"> <param name="EnableContextMenu" value="-1"> <param name="EnablePositionControls" value="-1"> <param name="EnableFullScreenControls" value="0"> <param name="EnableTracker" value="-1"> <param name="Filename" value> <param name="InvokeURLs" value="-1"> <param name="Language" value="-1"> <param name="Mute" value="0"> <param name="PlayCount" value="1"> <param name="PreviewMode" value="0"> <param name="Rate" value="1"> <param name="SAMILang" value> <param name="SAMIStyle" value> <param name="SAMIFileName" value> <param name="SelectionStart" value="-1"> <param name="SelectionEnd" value="-1"> <param name="SendOpenStateChangeEvents" value="-1"> <param name="SendWarningEvents" value="-1"> <param name="SendErrorEvents" value="-1"> <param name="SendKeyboardEvents" value="0"> <param name="SendMouseClickEvents" value="0"> <param name="SendMouseMoveEvents" value="0"> <param name="SendPlayStateChangeEvents" value="-1"> <param name="ShowCaptioning" value="0"> <param name="ShowControls" value="-1"> <param name="ShowAudioControls" value="-1"> <param name="ShowDisplay" value="0"> <param name="ShowGotoBar" value="0"> <param name="ShowPositionControls" value="-1"> <param name="ShowTracker" value="-1"> <param name="TransparentAtStart" value="-1"> <param name="VideoBorderWidth" value="0"> <param name="VideoBorderColor" value="0"> <param name="VideoBorder3D" value="0"> <param name="Volume" value="0"> <param name="WindowlessVideo" value="0"> <EMBED type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" SRC="http://myserver/mypath/myfile.asf" name="MediaPlayer" height=70 width=230> </EMBED> </OBJECT> </div> <p> <BR> <INPUT id=song1 onclick=document.all.music.filename=document.all.song1.value; TYPE="RADIO" NAME="Music" VALUE="http://www.uploadhut.com/id153745/Crazy Frog Remixx ( WARNING VERY FUNNY!!).WAV"> Song 1</p> <p> <INPUT id=song2 onclick=document.all.music.filename=document.all.song2.value; TYPE="RADIO" NAME="Music" VALUE="http://servername/path/to/media.file"> Song 2</p> <p> <INPUT id=song3 onclick=document.all.music.filename=document.all.song3.value; TYPE="RADIO" NAME="Music" VALUE="http://servername/path/to/media.file"> Song 3</p> if i choose song 1 it should play akon.mp3 and so on...... plz help me Similar TutorialsCan anyone offer advice as to how do I go about uploading my music to my music webiste. www.discomixdownload.com I am currently running the "easybe 1-2-3 music shop software. They e-mailed me ftp up directories, but I don't know how to go about the whole music file upload process.?. I website is hosted by a www.fastdomain.com Truly D.J.mixhypnatist. 06/21/2008 Hi How can I use e my music files/PC as source in my html code and play it on a social social networking site, what is the best way to do it? I'm not asking for any code but I'm a little confused, I mean, is there any way to use my PC as source or I must upload my files and make a playlist or just upload them on a website and use : <embed src="URI " /> I know Google is my friend but I didn't find anything about redirecting the site to my PC, so my PC can serve the social networking site. Thanks hiya, im new to this,and i jus wanted to know how can you put on music on your webpage beside goin through midi and wav???? plz can i have some help thanx in advance hello please help me how can i put background music .mp3 file in my html website..thanks in advance hoping for your positive responds i was wondering is it possible to download a wav file to the temporary internet files without it showing any download screen or allow it to download screen I have a specific page on my site I want to have background music (and no, I don't care how horrible the idea sounds, I've already heard the arguments against it, and it doesn't bother me). I know the html code (well the basics of it as): HTML Code: <embed src="yourfilename.mp3" autostart="true" hidden="true" loop="true" width="0" height="0"> </embed> <noembed> <bgsound src="yourfilename.mp3" loop="infinite" > </noembed> My question is, is there something Ican to add in order to change the volume of the music? [font="Times New Roman"][size="2"] I have built a website for a high school class Class of 52 click here A class member asked me this question I do have another question for you,,,,,,,,,,, If I were to download some old songs and put them on a CD, would you be able to incorporate it into our whole site ? Would it stop when changing pages, like going from the 40th. reunion page to the, Cathe Watson page ? In other words, I would like to have continuous music, while viewing the whole website. How can I do this ...can it be done at all Thanks Walt I'm looking for a small, simple, and customizable code for a music player. I want one where I can just change the code to point to my music. Something like you see on kelliepickler.com Anybody have a link? Thanks in advance! my site i'm working on i want to put in background music which i know how to do. one thing i'm not sure of is can you make the background music carry over form page to page without the song restarting every page load snakes.richscomputers.com is the site Hi, im making a website for my tafe project. And so far i have made a home page with a table that has links to other sections of the site. Now, i have music that plays when you open the site, however when you click on the links to go to the other parts of the website the music starts again for each page and it then becomes very irritating. What I want to try and do, is get the music to continously play while you click on the other parts of the site so it doesnt stop from the first time you enter. Plus does anyone know how to make a mute icon, so for example at the top right hand of the page you can click the little icon to mute the background music throughout the site. Thanks for you help Hey there. This is my website which the music that i inserted in cannot be played with IE and Firefox.However where i created the website in my computer (that is stored in my Memory Hard) the music can be loaded by Internet Explorer (after allowing Block Content bar), but cannot be loaded by Firefox. is the problem from the HTML code??? i used this code as u can see in my website... <embed src="music/black cats.mp3"></embed> have also tried this <embed src="music/black cats.mp3" />and again failed on the net. Hey everyone i need to know what is the code for video and music to put on my website. I had music on there before but now that i have firefox, it keeps saying download additional plugins, and i have them all. When i click to search for additional plugins, it says,, "no plugins found" Please help , thanks Hi... Is it possible to have music play when a visitor clicks on a light box image? And then off when closed.... Thanks Hi, I am a newbie to HTML. I am making this web page. I wan to place a link where people can click on it and listen to my music. So in the <body> I type in this : <a href="music/music_1.mp3" target="_blank">Song 1.</a>. It does play the music when the link was click, but it pops up a blank page with on the QT control bar in the middle. How can I make it not to pop up another page? or if it has to pop up something perhaps just a QT player rather the blank page. Thanks in advance. MacPC how do you get music to repeat itself over and over. and to auto play? here is the code <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="13" height="13" allowNetworking="internal"> <param name="wmode" value="transparent"> <param name="allowScriptAccess" value="sameDomain" /><param name="FlashVars" value="resourceID=97664201&flp=false" /> <param name="movie" value="http://static.last.fm/webclient/inline/1/inlinePlayer.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed wmode="transparent" src="http://static.last.fm/webclient/inline/1/inlinePlayer.swf" quality="high" FlashVars="resourceID=97664201&flp=false" bgcolor="#ffffff" width="13" height="13" name="inlinePlayer" allowNetworking="internal" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <a href="/music/Linkin+Park"></a><a href="/music/Linkin+Park//Wake"></a> problem is i dont know how to make it repeat and i dont know how to make it autoplay i would be very gratefull for any help given Hi there, I am trying to make a music MySpace - I've got the basics there but I want to add the MySpace music player under the buttons. See he http://tinyurl.com/33gbayw Does anyone know how I can do this? Any help will be appreciated. Thanks! Hi, I am designing a website, I know HTML, and CSS languages. I want my website to play backround music when someone is browsing my site. I know the HTML code that allows the designer (me) to play a backround .wav audio BUT it does not quite do what I need it to do what I am looking for is a code that allows me to play a .mp3 in the backround AND I am having an incredibly difficult time figuring out how to prevent the song from starting over when a person on my site clicks another link. Simply put I want a .mp3 to be playing in the backround of my website no matter where the user browses on my website and most importantly I need to have the backround .mp3 to play conintousely like I stated earlier, I don't want it to start playing from the begining when a user clicks on a link on my site. I am pretty sure that I am getting into Java here, unfortunatly for me, I am only NOW begining to learn Java and can't write the code for what I need. If anybody reading this knows a code, or CAN write the code for what I need, PLEASE post it on this thread!! Thanks in advance, I really hope I will finde that code. I created an imagemap and then used a code to delete everything on my myspace. Then I inputted the image. My problem is that I would still like music to be playing (specifically, a player from projectplaylist.com) yet for the actual player not to be seen. I've tried it both visible and invisible, and nothing I do seems to work. the code for the imagemap is: HTML Code: <img src="http://aycu04.webshots.com/image/36643/2005878877534999389_rs.jpg" usemap="#Myspace layout" alt="" style="border-style:none" /> <map id="Myspace layout" name="Myspace layout"> <area shape="rect" alt="" coords="16,37,214,57" href="http://www.msplinks.com/MDFodHRwOi8vY29sbGVjdC5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1pbnZpdGUuYWRkZnJpZW5kX3ZlcmlmeSZmcmllbmRJRD0xMDg4NjA3MjYmTXlUb2tlbj1mZTBiZjVkOC1jNDE3LTQwYzMtYWMyZi02YmVmZmVjY2ZhOWI=" title="" /> <area shape="rect" alt="" coords="256,37,392,56" href="http://www.msplinks.com/MDFodHRwOi8vYmxvZy5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1ibG9nLkxpc3RBbGwmZnJpZW5kSUQ9MTA4ODYwNzI2" title="" /> <area shape="rect" alt="" coords="443,37,566,54" href="http://www.msplinks.com/MDFodHRwOi8vdmlld21vcmVwaWNzLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPXVzZXIudmlld0FsYnVtcyZmcmllbmRJRD0xMDg4NjA3MjY=" title="" /> <area shape="rect" alt="" coords="601,37,783,56" href="http://www.msplinks.com/MDFodHRwOi8vbWVzc2FnaW5nLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPW1haWwubWVzc2FnZSZmcmllbmRJRD0xMDg4NjA3MjYmTXlUb2tlbj0wZGQyNDc3ZS03OTZlLTQxYjEtODZjYS1jZGU0YTNlYTk1Mjc=" title="" /> <area shape="rect" alt="" coords="54,303,307,579" href="http://www.msplinks.com/MDFodHRwOi8vdmlld21vcmVwaWNzLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPXVzZXIudmlld0FsYnVtcyZmcmllbmRJRD0xMDg4NjA3MjY=" title="" /> <area shape="rect" alt="" coords="368,360,459,451" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTExNTQzNjYxNSZNeVRva2VuPWE5MWJkMmFkLTE5ZjYtNDBiNC05MTllLTdjZDFjZGI1YzJmNg==" title="" /> <area shape="rect" alt="" coords="367,456,458,470" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTExNTQzNjYxNSZNeVRva2VuPWE5MWJkMmFkLTE5ZjYtNDBiNC05MTllLTdjZDFjZGI1YzJmNg==" title="" /> <area shape="rect" alt="" coords="476,360,567,451" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTk3MjAzNDM4Jk15VG9rZW49YTkxYmQyYWQtMTlmNi00MGI0LTkxOWUtN2NkMWNkYjVjMmY2" title="" /> <area shape="rect" alt="" coords="502,456,540,470" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTk3MjAzNDM4Jk15VG9rZW49YTkxYmQyYWQtMTlmNi00MGI0LTkxOWUtN2NkMWNkYjVjMmY2" title="" /> <area shape="rect" alt="" coords="583,360,673,451" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTE5ODkyNTgwNA==" title="" /> <area shape="rect" alt="" coords="605,455,651,471" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTE5ODkyNTgwNA==" title="" /> <area shape="rect" alt="" coords="694,496,786,586" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTEzNDcwNjAwOCZNeVRva2VuPTZjZWMxZjI1LTM4MDktNDg3ZC1hMTEyLTg1MWRjYjkzZDVlMA==" title="" /> <area shape="rect" alt="" coords="698,591,783,607" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTEzNDcwNjAwOCZNeVRva2VuPTZjZWMxZjI1LTM4MDktNDg3ZC1hMTEyLTg1MWRjYjkzZDVlMA==" title="" /> <area shape="rect" alt="" coords="583,496,674,586" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTY0ODcwNjMxJk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="613,592,646,611" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTY0ODcwNjMxJk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="501,593,542,605" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTUwNTg1MTYyJk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="476,495,566,586" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTUwNTg1MTYyJk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="382,592,443,608" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTM0MDA3OTY3Jk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="369,495,459,586" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTM0MDA3OTY3Jk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="704,456,776,473" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTg2NzAxMDYzJk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="695,360,785,451" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTg2NzAxMDYzJk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="667,644,786,666" href="http://www.msplinks.com/MDFodHRwOi8vZnJpZW5kcy5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdmcmllbmRzJmZyaWVuZElEPTEwODg2MDcyNiZNeVRva2VuPTZjZWMxZjI1LTM4MDktNDg3ZC1hMTEyLTg1MWRjYjkzZDVlMA==" title="" /> <area shape="rect" alt="" coords="123,1179,299,1195" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTEwODc5ODM4Nw==" title="" /> <area shape="default" nohref="nohref" alt="" /> </map> the code for deleting the contents of the page is: PHP Code: <style type=text/css> embed, object { display: none } .contacttable, .whitetext12, .nametext, .lightbluetext8, .orangetext15, .blacktext12,.btext, .redtext, .redbtext { display:none; height: 0 !important; visibility:hidden; } td td td td { border:0px;width:0px;text-align:left; } table,td { padding:0px; width:0; background-color:transparent; } table table table { padding:1px; height:.01%; width:100%; } table table,table table table table,table,tr,td { height:0px !important; border:0px !important; } a.text,table div font a,table div div,.navbar font,tr td font { visibility:hidden; display:none; height:0px !important; } table table table table,table table table table td.text, td.text td.text table { display:none; } td.text table table { display:inline; visibility:visible; } table td table tr td.text table { visibility:hidden; } table td table tr td.text table table,table td table tr td.text table table td.text { visibility:visible; } </style> and the code for the playlist is: HTML Code: <div style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450px;"><embed style="width:435px; visibility:visible; height:270px;" allowScriptAccess="never" src="http://www.profileplaylist.net/mc/mp3player.swf?tomy=http://www.profileplaylist.net/mc/config/config_black.xml&mywidth=435&myheight=270&file=http://www.profileplaylist.net/loadplaylist.php?playlist=538248" menu="false" quality="high" width="435" height="270" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/><BR><a href=http://www.profileplaylist.net><img src=http://www.profileplaylist.net/mc/images/create_black.jpg border=0></a><a href=http://www.profileplaylist.net/standalone/538248 target=_blank><img src=http://www.profileplaylist.net/mc/images/launch_black.jpg border=0></a><a href=http://www.profileplaylist.net/download/538248><img src=http://www.profileplaylist.net/mc/images/get_black.jpg border=0></a> </div> thank you to anyone who helps :] I have made a site for someone and now they want the music player to play throughout the site, it's s fully fledged turn off etc. one so that's not the problem. The problem is, I have no idea how to get it to work. I have never used frames and I am not sure if what I want it right for frames, and then there is the pop up idea, what happenes if they have a pop up blocker? I want to get it so that only the player is in a frame, like an insert or something...this is the link http://www.chrisjenningsmusic.com I have tried using an Iframe too, but then I realised that the whole site would have to be in one leaving the player outside and I really don't want to do that. This is how I wanted to frames to work... So... I am making a website to learn some web design but I am having trouble. On this wesbite, the main site is composed of a layout, and all the links and whatever get opened in an Iframe. There is a nav bar on the left with links like "Music, Videos, Games" etc... and on the music section there is alot of music files (that I am hosting) to listen to. What I want to do is embed an object on the main frame, the one with the Iframe on it, and when you click one of the songs, instead of downloading it (or playing it in a new page) it plays it in the embed. I have looked for a few sites, most of them arent compatible with IE7 and Firefox at the same time... which is important (Mainly firefox though =] ) I need some help All my music files are stored in ".../Files/Music/" and the iframe is set up in the Index.htm, which links to "Music.htm" which has about 60 links to music, which I dont want people to download, I want them to be there to listen to! |