examples/player/player.js
function(per) {
    var self = this;

    // Get the Howl we want to manipulate.
    var sound = self.playlist[self.index].howl;

    // Convert the percent into a seek position.
    if (sound.playing()) {
      sound.seek(sound.duration() * per);
    }
  }
function(per) {
    var self = this;

    // Get the Howl we want to manipulate.
    var sound = self.playlist[self.index].howl;

    // Convert the percent into a seek position.
    if (sound.playing()) {
      sound.seek(sound.duration() * per);
    }
  }
function ( per ) { var self = this ; // Get the Howl we want to manipulate. var sound = self . playlist [ self . index ] . howl ; // Convert the percent into a seek position. if ( sound . playing ( ) ) { sound . seek ( sound . duration ( ) * per ) ; } }
Seek to a new position in the currently playing track.
@param  {Number} per Percentage through the song to skip.
Seek to a new position in the currently playing track .