WebSite X5Help Center

 
Jan Arp
Jan Arp
User

Soundbutton in website for use on Ipad  en

Author: Jan Arp
Visited 993, Followers 1, Shared 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.

Posted on the
2 ANSWERS - 2 USEFUL
Bert R.
Bert R.
User

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. 

Read more
Posted on the from Bert R.
Incomedia
Claudio D.
Incomedia

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!

Read more
Posted on the from Claudio D.