Ask Experts Questions for FREE Help!
Answer   ||    Advanced Search

Ask your question or search...
International Sites: Nederlandse experts vragen
User Name 
Password 
Join   Forgot password? 

Home > Computers & Technology > Internet & the Web   »   Audio on website

Question
 
 
#1  
Old Feb 14, 2006, 12:38 PM
klmgb's Avatar
klmgb
Junior Member
klmgb is offline
 
Join Date: Dec 2005
Location: Virginia
Posts: 110
klmgb See this member's comment history on his/her Profile page.
Audio on website

What I am trying to do is add audio to my website. I got audio working by using this:
<embed src="http://myisp.com/me/audio/playlist.m3u"
type="audio/mpeg" loop="true" hidden="true"
autostart="true" >
and then I built a playlist in notepad and added it to my site, put everything in the proper place finally!!! and voila, everything works ------- as long as I have only .mp3's on my playlist. If I add a .wav file it will not play it. Is there a particular reason, or how can I convert a .wav to .mp3. The .wav is just a voice recording. Any help would be appreciated.

Reply With Quote
 
     

Answers
 
 
Old Feb 14, 2006, 03:22 PM   #2  
Senior Member
retsoksirhc is offline
 
retsoksirhc's Avatar
 
Join Date: Mar 2004
Location: Michigan
Posts: 908
retsoksirhc See this member's comment history on his/her Profile page.
Send a message via AIM to retsoksirhc
The reason the WAV file is not working is PROBABLY because you have the type set to MPEG, which MP3 is (MP3 stands for MPEG-layer 3). I believe if you take out the whole 'type' part, it should automatically play whichever type you put in. So try it like this:

<embed src="http://myisp.com/me/audio/audiofile.wav" loop="true" hidden="true" autostart="true" >

It would probably be best to convert the file to MP3 format, though, as they take up less space, and load faster on webpages. You shuold be able to do this easily, with just the windows sound recorder utility.

Click start>Programs>Accessories>Entertainment>Sound recorder
Open the file you want to convert
Click File>Save As
Where it says Format, click Change
In the box next to Format, change it to MPEG Layer 3, and select a frequency and bitrate (If you're not sure, the default should work fine)
Click OK
Pick a new filename, and add .mp3 to the end of it (for example, myconvertedsound.mp3)
And click save

Should be able to get you everything you need.

Comments on this post
LTheobald agrees: Great spot :D
  Reply With Quote
 
     
 
 
Old Feb 14, 2006, 04:16 PM   #3  
Junior Member
klmgb is offline
 
klmgb's Avatar
 
Join Date: Dec 2005
Location: Virginia
Posts: 110
klmgb See this member's comment history on his/her Profile page.
I converetd to MP3 with the sound recorder, thanks, didn't know I could do that. Works now, but for future reference. If I just use type="audio", should it play all files on the playlist of varying types?

Thanks
  Reply With Quote
 
     
 
 
Old Feb 15, 2006, 01:55 AM   #4  
Ultra Member
LTheobald is offline
 
LTheobald's Avatar
 
Join Date: Feb 2004
Location: Cambridge, UK
Posts: 1,047
LTheobald See this member's comment history on his/her Profile page.LTheobald See this member's comment history on his/her Profile page.
Call LTheobald via Skype™ Send a message via MSN to LTheobald
Just leave out the type. I don't think audio on it's own would be valid. MIME types have two parts seperated by a backslash. E.g.:

text/plain
text/html
audio/mpeg
video/quicktime
  Reply With Quote
 
     

Your Answer
Email me when someone replies to my answer
Join Login



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Ask your question or search...



Similar Threads
Car Audio
(3 replies)
New To Your Website
(9 replies)
age of website
(3 replies)
No Audio
(12 replies)
using ask me website
(8 replies)

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Search this Thread

Advanced Search

Bookmarks





Copyright ©2003 - 2009, Ask Me Help Desk.
All times are GMT -8. The time now is 01:23 PM.