Sizing JW Player for MP3 only

This thread may refer to an older version of JW Player! Check our articles for the most up-to-date information.
This Q&A thread was imported from our previous system and could apply to an older product.
  • I am using JW Player 5.3 for MP3 playback on a website and I only want the controller portion of the player to show.

    I am using the following settings along with jwplayer.js

    <div id="sound">Loading the player ...</div>

    <script type="text/javascript">
    flashplayer: "jwplayer/player.swf",
    file: "jwplayer/O-Holy-Night.mp3",
    height: 24,
    width: 400

    This should work, but the actual size of the #sound div displays at 304px x 53px. It also displays the play button that would appear in the middle of a video window.

    By the way it plays the mp3 fine.

    How do I configure it to limit the size to 24 by 400?

  • That should work, can you provide a link?

    Up Down 0 rated
  • Hi Ethan,

    Here's the link:



    Up Down 0 rated
  • Use this code:

    script type=“text/javascript”>
    flashplayer: “”,
    file: “”,
    height: 25,
    width: 300,
    controlbar: “bottom”

    Up Down 0 rated
  • Hi Ethan,

    controbar: "bottom" made the difference.

    BTW 24 is the best height value.

    Thanks for the help. Much appreciated.

    Up Down 0 rated
  • Np :)

    Up Down 0 rated
  • Thanks!

    Up Down 0 rated
  • Np! :)

    Up Down 0 rated

This QA is closed.

Still don't have JW Player? Get It Here