Soundbutton in website for use on Ipad
Autor: Jan Arp
Besucht 1189,
Followers 1,
Geteilt 0
Is it possible to make a website with websitex5 professional for ipad in which I can make buttons. By clicking on those buttons I want to start a music file (mp3, wav, aac etc.). Which file format should I use, so it will work on the Ipad, Iphone etc.
Gepostet am
You mean somthing like this: http://bertspage.nl/wepapp/ [sample]
This is the code :
<audio controls>
<source src="<span class="underline">http://www.Your url.com to the mp3" type="audio/mpeg">
<source src="radio_interview.ogg" type="audio/ogg">
</audio>
Replace the bold part of the code into the direction of your mp3 file on your server.
And put the code into your side, works perfect for Chrome.
Greets Bert.
Hello Jan,
For iPad and iPhone you need to use the mp4 audio format (.m4a) so this will be played. You can use the audio video object and add there this file and this will work correctly on these devices with the m4a file.
Many thanks!