WebSite X5Help Center

 
Jan Arp
Jan Arp
User

Soundbutton in website for use on Ipad  en

Автор: Jan Arp
Просмотрено 1192, Подписчики 1, Размещенный 0  
Тэги: button,ipad,music

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.

Размещено
2 Ответы - 2 Полезно
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. 

Читать больше
Размещено От 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!

Читать больше
Размещено От Claudio D.