This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Patrik Makrai
Posted Mar 28 - Read on Facebook

Anyone tried playing a sound in their proto? Do you have any tips for it?

3 Comments

Patrik Makrai

Answer: audio = new Audio('audio/bey.mp3');
audio.play();

Alex Bystrov

did it work for you on mobile? (previewing in Frameless browser for instance)

Alex Bystrov

I needed sound effects for some user interactions and found it quite tricky to have several sound effects for different interactions with no delay on mobile. This article explains all the issues http://www.ibm.com/developerworks/library/wa-ioshtml5/ It turnes out that the only way to have multiple sound effects with (almost) no delays is using audio-sprites

Read the entire post on Facebook