HTML sound does not autoplay

Max K shared this question 1 year ago
Answered

I am trying to let a sound auto play after i dragged a image. The problem is that the sound does not auto play inside Justinmide. I used a small HTML code. And that does work in my browser. I don't understand the problem.


It would be great if anybody could help me.


Thanks!


Unfortunately i can't add my file because it's too big but this is my HTML:


<!DOCTYPE html>

<html>

<body>

<div style="display:none">

<audio controls autoplay>

<source src="kerk.mp3" type="audio/mpeg">

</audio>

</div>

</body>

</html>

Comments (2)

photo
1

Hi Max,


Unfortunately JustInMind does not provide the capability of adding sound to prototypes, so I can't provide you any support on this subject.


Sorry for any inconvenience.


Best,


Sonia Durán

photo
1

Hi there,


We're happy to inform you that Justinmind (version 7.9) now lets you embed .wav and .mp3 audio files in your prototypes.


This is a great new feature for adding rich, dynamic content to your interactive designs, and will give your prototypes an even more realistic edge.


Check it out for yourself here.


Best,


Sonia Durán