View Full Version : web sound?
MCD4x4
03-03-2003, 03:07 AM
Hi,
I am a newbie, I'm trying to have a song play on my site when a visitor clicks on a picture. I uploaded the music file, and hyperlinked it from a picture. Problem is, it doesn't play from the site. windows media player plays it from the visitor computer. How can I set it up to play off the site it self? I'm also having the same problem with videos. Do I need to upload something else to the site? I'm lost. Thanks
webmarkart
03-03-2003, 04:17 PM
what type of music file is it? (midi,mp3,wav,asx,ect.)
MCD4x4
03-04-2003, 02:26 AM
Hi,
Thanks for getting back to me. I think it's a windows media player file. Do I need a diferent type of file? Between the sound thing and the video thing I'm lost. When I click on the picture that links to the song, my windows media player opens and plays the song. I want it to play from the site. That big WMP screen comes up and covers 1/2 my screen. I'm doing something wrong. Thanks again
webmarkart
03-04-2003, 04:28 PM
try the following:
<embed src="http://yoursite.com/yourfile.wma" height="26" width="70" autostart=true border=0>
or for video...
<OBJECT ID="MediaPlayer" WIDTH=320 HEIGHT=240
CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..."
TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="yourfile.asf">
<EMBED TYPE="application/x-mplayer2"
SRC="http://yoursite.com/yourfile.asf"
NAME="MediaPlayer"
WIDTH=320
HEIGHT=240>
</EMBED>
</OBJECT>
what code are you using that isnt working?
MCD4x4
03-04-2003, 04:37 PM
Did I mention I'm new to this? :D Where do I put that code? Seeing that, I'm really lost.
webmarkart
03-04-2003, 05:06 PM
For the audio code, you can put it anywhere between the <body> tags
for the video code, put it where ever you want the video to display
MCD4x4
03-04-2003, 05:11 PM
Do I need to upload any progams to the server? When you say put it where ever I want the video to be displayed, what do you mean? I know I'm a pain in the butt, I'm a bit lost with this.
webmarkart
03-04-2003, 05:46 PM
you do not need to upload and software, the software to play music is on the individual visitors computers who visit your site. You will obviously need to upload the music file.
If you are unfamiliar with web design, perhaps you should start at something a little more basic than music and video. There are several basics that you should understand before trying to incorporate multimedia.
check out these previous posts about similar questions:
http://www.codingforums.com/search.php?s=&action=showresults&searchid=88350&sortby=lastpost&sortorder=descending
MCD4x4
03-04-2003, 06:10 PM
Oh no, don't give up on me, I just need a more simplified instruction on what to put where. The site, which I did just for the fun of it, is coming out pretty cool. It's based around R?C cars. Have a look see www.MCD4x4.com
vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.