WebSite X5Help Center

 
Jan Arp
Jan Arp
User

Soundbutton in website for use on Ipad  en

Autor: Jan Arp
Visitado 1159, Seguidores 1, Compartilhado 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.

Publicado em
2 RESPOSTAS - 2 ÚTEIS
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. 

Ler mais
Publicado em de 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!

Ler mais
Publicado em de Claudio D.