Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6739049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:26:29+00:00 2026-05-26T11:26:29+00:00

I am using jPlayer for a client, where the progress bar is the title

  • 0

I am using jPlayer for a client, where the progress bar is the title of the track. It changes color as the track progresses. I’m accomplishing this by having a div with the title in one color, and absolutely positioning the progress bar on top of it, with the title in another color. So as the progress bar expands, it reveals the new colored text. In case my description is terrible (I’m sure it is), you can take a look at the dev site here:

http://sublimio.matthew-ferry.com/sublimio/

As you can see, the progress works just fine on single word titles. But on multiple word titles, the first word reveals fine, then for the subsequent words they aren’t displayed until the whole word is finished.

Is this a browser rendering problem or is there something I could do to fix this?

first the js:

$('.track').each(
        function()
        {
            var player_id = '#' + $('.jp-jplayer', this).attr('id');
            var audio_id    = '#' + $('.jp-audio', this).attr('id');

            $('.jp-jplayer', this).jPlayer(
                {
                    "cssSelectorAncestor": audio_id,
                    swfPath: "js",
                    supplied: "mp3",
                    wmode:"window"


            }
            );

            $('.song', this).click(
                function(eve)
                {
                    eve.preventDefault();
                    $(this).jPlayer("progress");
                    $('.jp-jplayer').jPlayer("stop");
                    $(player_id).jPlayer(
                        "setMedia", 
                        {
                            mp3: $(this).attr("href")
                        }
                    );

                    $(player_id).jPlayer("play");
                    return false;
                }
            );
        }
    );

Now the (simplified) HTML:

<ul>
<li class="track">
    <div>
        <div class="jp-controls">
            <span><a class="jp-play song" tabindex="1">play</a></span>
            <span><a class="jp-pause" tabindex="1">pause</a></span>
        </div>
        <div class="title">Title With Multiple Words</div>
        <div class="progress">
            <div class="jp-seek-bar">
                <div class="jp-play-bar">Title With Multiple Words</div>
            </div>
        </div>
    </div>
</li>
...etc...
</ul>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:26:29+00:00Added an answer on May 26, 2026 at 11:26 am

    Ha, figured it out. The progress bar at 0% width was wrapping the overflow text onto multiple lines. Fix was using white-space: nowrap; on the progress bar text

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having trouble playing an MP3 file using jQuery Jplayer in Firefox 8.
I am working on this page where I'm using a Jquery Mp3 Player (Jplayer)
I'm using jPlayer and it's working in all browsers except IE 9. If i
I am using jPlayer library but i don't know how to set width and
I'm using the jQuery audio player 'jPlayer', I have a loop which creates a
i am actually working on this mentioned title. player show the list, its generating
I am using jPlayer to embed two audio files in my page, basically the
I am writing an application using jQuery (with the jPlayer plugin) that needs to
I'm building a website with a music player, I'm using jPlayer. Every song is
Here is my jplayer code <div id=player></div> Javascript: $(#player).jPlayer( { ready: function () {

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.