Dear Amy, after adding this feature to my code, I noticed that when I refresh the page: the play button is switched to the pause button, so the page starts with the pause button. When clicking it, the song of course won't start, it needed another click for the music to start, probably triggering the toogle between the play and pause. I solved it by seting the useState from "false" to true, here: const [isPlaying, setIsPlaying] = useState(false) . I don't know if that is the case for others as well, I just noticed this. I mention that I am very new to this, so I learned a lot from your video! Thank you for that!
@SelfTeachMe
3 жыл бұрын
Thanks for sharing this update.
@rodrimelenas
2 жыл бұрын
I think it's because of the useEffect(...,[timeJump]) that makes update the setIsPlaying. You can introduce an if condition to check if timeJump >0. It's explained at the end of video # 6 (hooks)
@JamesQQuick
3 жыл бұрын
Love!!!
@SelfTeachMe
3 жыл бұрын
Thanks! ... now to add this code to the player on the Compressed.fm site 🙃
@creatorjamsai
3 жыл бұрын
Really loving this! Will your next video have any info on how to do volume controls?
@SelfTeachMe
3 жыл бұрын
I hadn't planned on doing volume controls... I always use my computer's controls instead of anything built in. But, I've had several people request this feature, so I'll add it to the list.
@aaronsoto3823
3 жыл бұрын
Is the Zeal hiring link broken or was the position just filled? :)
@SelfTeachMe
3 жыл бұрын
Hey Aaron! Thanks for the interest. I need to correct the link, the position has not been filled. I believe we still have an open Senior Dev (www.codingzeal.com/hiring) and a UI / UX / Frontend Residency position (www.softwareresidency.com/zeal-ui-ux) open
@j4079809708
3 жыл бұрын
Hi Aaron! You can apply for the Eng role here: codingzeal.recruiterbox.com/jobs/fk06zhr?source=.
@connordinnadge
3 жыл бұрын
I was wondering if you could explain how you would create a playlist and how to autoplay the next file in the player
@SelfTeachMe
3 жыл бұрын
Good question. I'll add that to the list of videos!
@Michael-Martell
Жыл бұрын
I’m trying to make a playlist right now. Have you built this yet by chance?
Пікірлер: 15