HTML5 output on iphone/ ipad/ ipod - sound?
Monkey Targets Forums/HTML5/HTML5 output on iphone/ ipad/ ipod - sound?
| ||
Anyone had any luck in getting sound to work in html5 on the native safari browser on iphone/ ipad? |
| ||
Nope, it is not a bug. It is a feature of the idevices. |
| ||
Does it mean that we can't get any sound from Monkey HTML5 games on any iDevices? We don't have an iDevice yet so we can't test. We had just accepted a job to make HTML5 game and if we can't get sound, this is really bad! :( |
| ||
From the informations I have gathered through googling, it seems that Apple has made it basically impossible to get sound for native HTML5 games on IDevices. |
| ||
As far as I can tell you can get HTML5 sound on the iPad/iPod/iPhone like this: http://www.apple.com/html5/showcase/audio/ (tested on iPod touch 4) http://developer.apple.com/library/safari/#documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html http://stackoverflow.com/questions/3009888/autoplay-audio-files-on-an-ipad-with-html5 It might be limited to 1 sound at a time. :-( |
| ||
i hear a user-selected full screen mode may work. anyone try this, i know it's not native to monkey and would require a mod. |
| ||
That's annoying. I suppose it's all to encourage things to be apps, not html5-apps in AppleWorld. It's all about the money, I guess. |
| ||
What audio format is it? Very few are supported. |
| ||
I think I tried mp3 and ogg, with no joy. Sounds like it's not meant to be, tho' |
| ||
This plays sounds on the iPod Touch 4: http://buzz.jaysalvat.com/demo/ Also all of these play , except ogg : http://textopia.org/androidsoundformats.html I think the iOS HTML5 sound support currently is limited to: One sound at a time. No preloading. No .ogg I'd still like a function to play HTML5 sound on IOS HTML5 though. The current Monkey implementation does not seem to play anything. |
| ||
From my reading, audio can only be launched in the browser by user interaction - clicking a button. Typical Apple rubbish, making most games unusable. They obviously don't like HTML5 because it bypasses the App Store! |
| ||
On the other hand a silent film won an Academy Award for Best Picture 2012, just saying... :) |