johnlove
johnlove

Reputation: 1

using javascript to play audio just on iPad

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: 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

Upvotes: 0

Views: 1262

Answers (2)

user420479
user420479

Reputation:

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

Upvotes: 0

ggutenberg
ggutenberg

Reputation: 7360

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".

Upvotes: 1

Related Questions