Allow duration of song to be specified
See original GitHub issueDescription
I’m using your player in my Music Server (https://github.com/deluan/navidrome), and it is working perfectly, thanks!
One thing that could be improved is: My server does transcoding on-the-fly (convert files from one format/bitrate to another), and when this happens, the player cannot get the proper duration, as the response from the server does not contain any Content-Length header.
Currently the player shows 00:0NaN
and the progress bar does not work in these cases.
It would be awesome to be able to set the duration time in these cases (instead of getting it from the audio instance), so we would still see the proper duration and the progress bar would work properly.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Copyright Laws for 30 Seconds of Music
You may have heard of "fair use," a copyright provision that permits you to use 10, 15 or 30 seconds of music without...
Read more >How Long Should A Song Be, Both For Radio And Other?
Is there a specific length songs need to be in order to have mass appeal? We'll examine these questions from a few different...
Read more >Fade between songs in Music on Mac - Apple Support
In the Music app on your Mac, choose Music > Settings, then click Playback. Select Crossfade Songs. To change the amount of time...
Read more >How to Make Music Longer on Instagram Story - FlexClip
Instagram allows you to add music and adjust its time length accordingly. ... Now set the 15 seconds of the song for the...
Read more >Video: Insert music and time it to your slides - Microsoft Support
Training: Play audio, such as music or a song automatically when a slide appears, while you are presenting, and time the slides to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done.
https://github.com/lijinke666/react-music-player#bulb-customize-audio-duration
Awesome, thanks! Will try this weekend!