HTML5 jQuery Audio Player
Disable repeat playing of song (2 posts)

  1. rodentkj
    Posted 3 years ago #

    I use the player with one .mp3 in the playlist.
    The .mp3 is a few seconds long.
    The player will play the audio file over and over until the pause button is pressed.

    Is there a way to disable the repeat playing?


  2. Maeve Lander
    Plugin Author

    Posted 3 years ago #

    hmm interesting question. There certainly isn't an easy setting via the plugin front end for it.... but it could be done by modifying the JS that controls the player itself. If you're game for customising the plugin code then it would be in /player/js/jquery.jplayer.js Run and find for "repeat" and you will see the functions that relate to the auto-repeat. You might also find this tutorial on the jPlayer documentation useful.

    Building an on/off option for auto-repeat would not be too hard (although of course would still take a few hours dev time) so it is something I would consider adding to the official plugin for everyone, but actually not a single other user has requested this or raised this yet so I generally wait and only seriously consider adding features when lots of users are requesting it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • HTML5 jQuery Audio Player
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic