DEV Community

Joe
Joe

Posted on

component #10 - Audio Player

What I have learned?

  • How to make a custom Audio Player.
  • How to enjoy making a custom Audio Player by keeping it simple. :D

What are the main challenges?

Converting the audio current time (seconds) into 00:00. I was really having this silly thought of installing momentjs just to have my desired format. ๐Ÿ˜‚๐Ÿ˜‚ So instead of doing that I'd decided to pull out my primary lifeline (stackoverflow) yep, I even put the link to the solution below.

Overall this is a great experience of making a custom Audio player.

Why am I doing this anyway?

  • To learn.
  • To have fun.
  • To future Joimee (for reference).

Resources:
Format Audio Current Time
HTMLMediaElement
component #3 Video Player

Salamat.

Latest comments (0)