Inputting music into web page
Im new to this web page designing
I do it as a td for tourny pages
Ive tried all the codes i have read about but they dont seem to work
what am i doing wrong?
Also where do i get the music from the net that will actually work on the site
i know u save there html address but i seem to be having problems
By the way not into all the computer speak
so plz simple as possible examples would help
Thx in advance
You can use one of three ways:
<embed src="URL_TO_SOUND_FILE.mp3" loop="infinite">
I haven't done much work with the object tag so you might need to do a little fanagalling to get the code above to work. The link below is a reference for the object tag:
<object data="URL_TO_SOUND_FILE.mp3" type="MIME-type"
width="number of pixels wide"
height="number of pixels tall"></object>
MIME-type: — This tells a web browser what kind of file it is downloading and what application it should open the file with. An MP3 file will be something like audio/mp3. You'll have to look up mime-types on a search engine just to be sure.
Where to put the tags:
The <embed> tag can be placed between the <head> and </head> tags. The <object> tag should be placed in between the <body> and </body> tags, in the place on the page where you want a little box to appear that contains basic controls for a media player.
The last way: (and probably the easiest)
Last edited by toicontien; 10-06-2003 at 12:28 PM.
ty ill giv it ago
there was a site which had it all done for u but it crashed out so its bk on my own and im not the brightest with html
thanks anyway ill try and fingers crossed
k this is wot were using it did work now we just get a dot!!!
were missing our music :O(
ps do u know were to get wave files from to use on it
I dissaggree with music on websites, I think it is a mark of unprofessionality and I think it is very annoying for those of us who surf with winamp blaring, it interfears. I usually do not go back to sites with music on them. Now for the advice. Use the object tag, the embed tag is out dated.
<object data="URL_TO_SOUND_FILE.mp3" type="MIME-type"></object>
This is like the code posted before. The object tag is just what I would say would be the way to go, but if you are bent on using the embed tag which is out dated (I believe it was depreciated) try messing with your loop, make it a number like 1,2,3 or infinate. Also ditch the controls see what happens.
ITS FOR TOURNY PAGES AND EVERYONE ASKS FOR THE MUSIC TO BE ON
THANKS ANYWAY WILL TRY IT
copy the following code into your code placing it where you want the player to show on the page:
put your audiofile into a folder called music and upload it to the server. This is onlyl good for one sound file at a time, but it works
fawn, that is esentially what we have posted 3 times now except your has a volume attribute which is most likely invalid or depreciated.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)