Auto play music

Hi, i use

<audio controls autoplay loop>
   <source src="https://s3.amazonaws.com/Syntaxxx/bigger-picture.mp3" type="audio/mp3" />
   <p>If you can read this, your browser does not support the audio element.</p>
</audio>

and also use iframe tag
but how audio audio play music?

Isn’t the value in type wrong?

Try changing it to audio/mp3.

but audio autoplay not work in chrome i change it

not wotking :frowning:

Auto playing sounds on a web site is rude.

4 Likes

o yeah! i am fresher and my UI is also week please share my tour experience how you are improve yourself & thanks for reply and advice me

o yeah! i am fresher and my UI is also week please share my tour experience how you are improve yourself & thanks for reply and advice me :slight_smile: