HTML - Help Embeding Sound Files
I am using the following code to embed sound files and everything works fine but I would like for the sound files to begin downloading when "play" is hit and not when the web loads (automatically starting the download of all sound files). Thanks. <embed src="gtr.mp3" autostart="false" loop="false" width="300" height="42" controller="true" bgcolor="#F9000"></embed> Similar TutorialsHeys guys, I'm trying to build a website and I'm trying to embed multiple sound files into one page. I think there will probably be about 5 files. I've actually tried this but when the page loads only 2 or 3 of the 5 files load. I've tried putting them on one or two at a time and it works that way, but not all at the same time. Also, when the page loads I get 5 popup ActiveX boxes to click on...is there anyway to maybe only get 1? Would really appreciate any help!!! Jeff Terrell Hi, I'm making my first website, and I'm trying to embed an mp3 file into a page. So far I have a folder of html files on my computer an haven't uploaded to a server yet. With the file "Telefone529Musicology.mp3" in this folder, and using the tag: Code: <embed src="Telefone529Musicology.mp3" WIDTH="145" HEIGHT="60" AUTOPLAY="true" LOOP="true"></embed> I can't get it to work on either FF or IE7, and I want it to work on both, since they seem to be the most popular browsers. In FF, my page loads, and at the point of the embed tag I get a square box containing the quicktime logo and a question mark, with no sound. I checked my quicktime settings, and the default action for .mp3 files is to use the quicktime plugin, and I'm sure it has worked in the past so is it a problem with the code or some other settings I need to configure on my browser? Likewise, in IE7, the same thing happens, except I get a box with a little red cross, and no sound. Again, I'm sure my quicktime plugins are up to date, and configured to play mp3 files, so I'm lost. I'd really like to get this working, Thanks How do I get a sound file to automatically download when a user enters the page after purchsing? Thanks. Hello, i have an online radio station that id like to embed into my website... the station is hosted and everything..just want a player that will play the station on demand for people... but i dont know how to do it. I have a m3u, but thats about it at this point any help would be greatly appreciated Hi i used to embed movies into my html, but the fact is that when i embed the movie, it aoutomaticaly make the movie to play with windows media player 9. i was wondering that how can i make it to play with jet audio, or windows media player 11 or real player. thanks for the helps Hi Guys, Bit of a n00b here, please be gentle. Using this code I display a couple of videos on a drop down box then stream the selected video below it. this works fine for IE but not FF Code: <select id="cancion" onchange="document.all.music.filename=document.all.cancion.value;" size="1" name="Music"> <option> Select Video </option> <option value="http://somevideo.wmv">Video1</option> <option value="http://somevideo2.wmv">video2</option> </select>a <br /> <p> <object height="300" width="350" id="music" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"> <param name="AutoStart" value="1" /> <param name="Balance" value="0" /> <param name="DisplaySize" value="0" /> <param name="Filename" /> <param name="Mute" value="0" /> <param name="SelectionStart" value="-1" /> <param name="SelectionEnd" value="-1" /> <param name="ShowControls" value="-1" /> <param name="ShowAudioControls" value="-1" /> <param name="ShowDisplay" value="0" /> <param name="ShowPositionControls" value="-1" /> <param name="Volume" value="0" /> <param name="AudioStream" value="-1" /> <param name="AutoSize" value="0" /> <param name="AnimationAtStart" value="1" /> <param name="AllowScan" value="-1" /> <param name="AllowChangeDisplaySize" value="-1" /> <param name="AutoRewind" value="1" /> <param name="BaseURL" /> <param name="BufferingTime" value="5" /> <param name="CaptioningID" /> <param name="ClickToPlay" value="-1" /> <param name="CursorType" value="0" /> <param name="CurrentPosition" value="-1" /> <param name="CurrentMarker" value="0" /> <param name="DefaultFrame" /> <param name="DisplayBackColor" value="0" /> <param name="DisplayForeColor" value="16777215" /> <param name="DisplayMode" value="1" /> <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="InvokeURLs" value="-1" /> <param name="Language" value="-1" /> <param name="PlayCount" value="1" /> <param name="PreviewMode" value="1" /> <param name="Rate" value="1" /> <param name="SAMILang" /> <param name="SAMIStyle" /> <param name="SAMIFileName" /> <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="ShowGotoBar" value="0" /> <param name="ShowStatusBar" value="0" /> <param name="ShowTracker" value="-1" /> <param name="TransparentAtStart" value="0" /> <param name="VideoBorderWidth" value="5" /> <param name="VideoBorderColor" value="0" /> <param name="VideoBorder3D" value="1" /> <param name="WindowlessVideo" value="1" /> </object> </p> <div align="left"> </div> any ideas? cheers Kev Hi All, I am working on one of the website in which designer has used "Zapfino" font which is not system based. So i have to used this font. Can anyone pls help me to know how to embed the font in html? Thanks and Regards, Two embeding questions, probably the same answer. 1. I would like to embed a youtube video over a portion of an image. Not sure how? 2. I would like to embed my newsletter signup box over an image, again not sure how? I think I would have to set the image as a background somehow and put the embed code over it? Any tags and order that I would put the code would be awesome! Thanks. Joe Ok ive tried but i cant seem to get it working. Here is a screenshot of the problem i have: This is the code im using to embed the flv file: Code: <object width="425" height="344"> <param name="Bloopers" value="LINK TO SWF HERE"></param> <embed src="LINK TO SWF HERE" type="application/x-shockwave-flash" width="425" height="344"> </embed> </object> p.s. I have removed the links to the swf file. What am i doing wrong? Thanks a lot for any help. EDIT: Just to let you know, the positioning isn't a problem, I will be able to move it into the right position myself. I just want to get the video working before i move it into the right place Is it possible to embed a flash game (http://armorgames.com/play/5177/grayscale) into my site without having the add at the beginning? Just the logo and links of the creator! The code is: <embed src="http://www.coolbuddy.com/games/swf/Grayscale.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="600"></embed><br><a href="http://www.coolbuddy.com" target="_blank" title="Play Games">Play Games at coolbuddy</a> Hi, What is the html code to have a Youtube video on my website? Is it possible to embed just the Audio with a stop, pause, progress display? What is the html for this Hi there! I'm quite a newbie to webdesign and programing and right now I'm really stucked! I hope this is the right Forum to post my question! So I'm working at a html based website, and I'm trying to show my photos in a simpleviewer gallery which I want to embed in the html side (I work with tables). however I want this flash gallery to adjust the size depending on screen or window size... which I some how also managed: see he http://www.dgclick.com/portfolio/index.html (just the gallery not embedded) and now my problem...I'm trying to embed this gallery in the html, which I managed in general, just that the gallery is tiny and doesn't resize at all!! see here--> http://www.dgclick.com/portfolio/portfolio_en.html that's how I embedded it: <embed src="viewer.swf" width="100%" height="auto"!important height:"100%" bgcolor="#161317" name="viewer" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" scale="exactfit"></embed> what's wrong with it!! Please help me!! Thanks Dani Hi all =) I'm using the following code: Code: <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" showstatusbar="1" EnableContextMenu="false" autostart="true" width="230" height="240" transparentstart="1" loop="0" controller="true" src="http://www.bartend.com/ecourse/videos/bartendcom-margarita.wmv"> </embed> It makes people download WMP 11 to view the file. I want to be able to let it run in WMP 9 or 10. How can I fix this? Thank you =) Light and Love and Healing to you, -Patrick Arden McNally Howdy, I interning for a musician and part of my job is to make myspace bulletins. What I want to do is embed one of those little media players in my bulletins so the song plays when someone opens the bulletin up... the file is not on a website anywhere, it is on my computer in mp3 format (i believe) so here is my question(s) How do i get the mp3 in html format? and how do I embed a music player into a mysapce bulletin? ______________ notes: Through My Documents I've opened up the file in InternetExplorer in hopes that I could use that html address...... the media player DID show up in the Myspace bulletin, however, the music would not playback (when I hit the play button it just said "stopped." I've googled "embed media player in myspace" and other key words but i'm still not understanding nor am i finding the information i am looking for... _______________ I really want to learn how to this so any advice will be greatly appreciated! Cheers! feel free to IM me MSN: DJMi55ing@live.com AIM: (please ask) Hello, Can someone please help me with this: I am trying to embed a sound into a text link...here is the code: <li><a class="last" href="index.html">Inchide Sistemul</a></li> ...when I click the link I want to play a sound, how can I modify the code to do that? Thanks I can't seem to get a sound to play on my site. I can edit the code and execute it on my computer and it works fine. When I upload it to my page, it doesn't work. I use Firefox but also tried it with IE. I have tried both EMBED and BGSOUND. The sound is a very small WAV file. Where am I going wrong? I have a sound problem with chrome. I have been added a song to my website using: <embed src="c1.mp3" width="200" height="100" autoplay="true" hidden="true" loop="1" volume="100"></embed> but is not working in chrome. On the other hand is woking in IE 6 What is the problem?? Just wondering if anyone knows a good way to loop like a 3 second sound clip on a page? I want it to start as soon as the page loads and keep looping. Any help would be awesome. Thanks hey all, i have added mp3 file using quicktime player it works fine is IE but, it doesn't work on firefox. it comes up with missing plugin (even though i have quicktime installed) if i change this code to wmp then the activex doesnt show up any ideas whats gone wrong? Code: <div class="navStyle" id="subMenu"> Silent Hill 4: Cradel of the forest <br /> <br /> <object width="171" height="20" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> <param name="src" value="../media/essentials/thread/1.mp3" /> param name="autoplay" value="false" /> <param name="controller" value="true" /> <!-- For Older Browsers --> <embed src="../media/essentials/thread/1.mp3" width="171" height="50" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/"> </embed> </object> </div> I have this alert box that I would like to add a sound after you click ok. Can this be done to the script I have here? Thanks //<![CDATA[ var alertmessage="Well this the last and finale Assignment for the JavaScript Level One Course" //Alert only once per browser session (0=no, 1=yes) var once_per_session=1 function get_cookie(Name) { var search = Name + "=" var returnvalue = ""; if (document.cookie.length > 0) { offset = document.cookie.indexOf(search) if (offset != -1) { // if cookie exists offset += search.length // set index of beginning of value end = document.cookie.indexOf(";", offset); // set index of end of cookie value if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) } } return returnvalue; } function alertornot(){ if (get_cookie('alerted')==''){ loadalert() document.cookie="alerted=yes" } } function loadalert(){ alert(alertmessage) } if (once_per_session==0) loadalert() else alertornot() //]]> |