It is possible to add multimedia contents to a website using JavaScript. Among them, video and music are the commonest.
To play background music, you can use the following code:
PlayMusic.src=”mj.mp3″;
Check out the full script here:
Learn JavaScript Online | Free Interactive JavaScript Tutorials
Master JavaScript with free, interactive tutorials for beginners and experienced coders. Practice live coding and visualize how JavaScript works step by step.
It is possible to add multimedia contents to a website using JavaScript. Among them, video and music are the commonest.
To play background music, you can use the following code:
PlayMusic.src=”mj.mp3″;
Check out the full script here: