Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Has anyone implemented a "horn button" this way to play a short sound on a page?

I have found unrelated articles about making small <audio> snippets, but using the "simple transport controls" Start/Pause/Stop/Rewind buttons. The best example I can imagine for what I must provide, is a "horn button". Click it and it beeps.


Has anyone got the code working for this in iBA? (As an HTML widget)

iBooks Author-OTHER, iOS 5

Posted on Dec 26, 2012 1:33 PM

Reply
Question marked as Best reply

Posted on Jan 3, 2013 12:23 PM

If you have an image (like a button) that you want to play a short sound (without the transport controls), use the widget inspector and click on the interaction panel: you'll see a choice: display audio as: scrubber, button, image. Select button, or image if you want a custom image, and you're all set. Hope this works for you.

2 replies
Question marked as Best reply

Jan 3, 2013 12:23 PM in response to Bitmancer

If you have an image (like a button) that you want to play a short sound (without the transport controls), use the widget inspector and click on the interaction panel: you'll see a choice: display audio as: scrubber, button, image. Select button, or image if you want a custom image, and you're all set. Hope this works for you.

Has anyone implemented a "horn button" this way to play a short sound on a page?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.