I just did a quick experiment to make a sound player for a musician friend. While I didn't get the annoying Lego Brick of Flash, I didn't get any sound either. A quick hack showed that I could replace the sound play button with a link like this:

<a href="/path/to/mp3.mp3" type="audio/mpeg">button image</a>

and the iPhone did the right thing when I clicked it -- showed the media player widget and started playing the song.

Does anyone know a clever way to make this seamless? I'm thinking that a browser sniff would be the ugly way out, so what would be the new- world functional test to use to determine if sound.js is going to have any effect?

Does anyone know of any other work being done in this vein already?

Thanks in advance,

Walter

--
You received this message because you are subscribed to the Google Groups "Prototype 
& script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to