Embedding an MP3 in a webpage
Author
Discussion

pikey

Original Poster:

7,704 posts

315 months

Saturday 19th May 2007
quotequote all
Hello,

I have a (small) MP3 I want to embed in a webpage and the only way I've worked out so far is a hyperlink. (Example here next to the words 'audio file'.) I've seen small "players" embedded in the page so when someone clicks 'play' it runs.

Any pointers on how? I've got little idea about the technicalities of web pages and therefore use Frontpage (for my sins).

Thanks

Plotloss

67,280 posts

301 months

Saturday 19th May 2007
quotequote all
You need to embed the media player control and pass it the mp3 that you want it to play.

There will be thousands of tutorials on how to do this on the web.

igiveup

2,875 posts

313 months

Saturday 19th May 2007
quotequote all
Have a read through this....

www.abdn.ac.uk/webpack/factsheet24.shtml

sadako

7,080 posts

269 months

Saturday 19th May 2007
quotequote all
Go to random page on ytmnd, right click, view source.

<object data="http://content.ytmnd.com/content/9/3/ type="audio/mpeg" height="0" width="0">
<param name="autostart" value="true">
<param name="loop" value="true">
<param name="hidden" value="true">

</object>

Admittedly this isn't a perfect solution as some people can't hear the sound without tweaking (i.e. firefox or quicktime alternative users - ie uses quicktime to play it and prompts for install.

Edited by sadako on Saturday 19th May 15:50

pikey

Original Poster:

7,704 posts

315 months

Monday 21st May 2007
quotequote all
Thank you.

Sorted