Support » Plugin: MP3 Music Player by Sonaar » How can I make “currentTime” and “totalTime” visible at all times?

  • Resolved katra617

    (@katra617)


    Hello,

    How can I make “currentTime” and “totalTime” visible at all times? I want these parameters to show before users click the play button. Currently, these parameters only show when the play button is clicked.

    Can you please assist me? I’m code savvy so please let me know where I can change this.

    Thanks!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author sonaar

    (@sonaar)

    Hi,

    Unfortunately, it’s not possible to show the current time and total time before users click the play button because we would have to pre-load all mp3 files (to get times and id3 tags)..The browser would download the files even if the user wont listen to it and that would cause bandwidth/slow page loads issues in some cases.

    Thread Starter katra617

    (@katra617)

    I see, Is there a way to have a placeholder for those 2 parameters?

    Thanks for your prompt response!

    Plugin Author sonaar

    (@sonaar)

    There are already placeholder in the dom. see screenshot https://d.pr/i/i83Khw

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.