question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow duration of song to be specified

See original GitHub issue

Description

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:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

0reactions
deluancommented, May 16, 2020

Awesome, thanks! Will try this weekend!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found