Embedding an MP3 in a webpage
Discussion
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
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
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.
<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
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff



