开发者

using javascript to play audio just on iPad

开发者 https://www.devze.com 2023-01-24 01:20 出处:网络
Rather than repeat a long javascript for playing audio, here is the link: webpages.charter.net/jolove/Includes/play_song.js:.

Rather than repeat a long javascript for playing audio, here is the link: webpages.charter.net/jolove/Includes/play_song.js:.

This plays for any desktop browser (Mac or Windows), but not for my iPad.

Here is the calling website: 开发者_JAVA百科webpages.charter.net/jolove/Escort_Folder/Dedication_Poem_iOS.html

This is really bugging me, so I would definitely appreciate any help on this, any help at all.

John Love


Not sure exactly what your question is, but you can use the HTML5 <audio> tag which is supported by the iPad. Check out http://developer.apple.com/safaridemos/audio.php or just google "HTML5 audio".


I'm almost forced to conclude that iPad will not play audio files.

Here is a very fresh site, where I use the audio.
But, this time, I got a button that says "cannot play audio file". For the sake of completeness, here is the included webpages.charter.net/jolove/Escort_Folder/js/play_song.js

0

精彩评论

暂无评论...
验证码 换一张
取 消