Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How can I input background music which is invisible and always audible? How can I input bg music in all pages repeatedly without any lagging?

user-image
Question added by sahed sheraf , Senior software engineer , Booket Events
Date Posted: 2016/04/14
Smriti Parwani
by Smriti Parwani , Admin , ASTAD project management

use

8down voteaccepted <audiosrc="/music/music1.mp3"><p>If you are reading this, it is because your browser does not support the audio element. </p></audio>

Deleted user
by Deleted user

You add this code in each page to play a sound repeatedly in background:

<audio autoplay loop>     

<source src="your_file.mp3">

</audio>

If you want play once omit "loop".

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.