Can I use java scripts to make an music player | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Can I use java scripts to make an music player

18th Sep 2020, 1:53 PM
Manshroit Shroit
Manshroit Shroit - avatar
3 Answers
+ 3
 Start by creating the HTML layout first that defines the structure of the player,  make it look good by styling using CSS and then write the player logic for all the functions in JavaScript
18th Sep 2020, 1:59 PM
Alphin K Sajan
Alphin K Sajan - avatar
+ 1
tags :java question :javascript and yes ,ytdl to fetch music from yt
18th Sep 2020, 1:58 PM
sexy_programmer
sexy_programmer - avatar
+ 1
Yup ,using audio element you can create a basic music player , if you want some advanced stuff like altering frequency ,pitch or panning you can look into web audio api later Also Java and JavaScript are two different languages
18th Sep 2020, 1:59 PM
Abhay
Abhay - avatar