Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #22696

    Can you recommend an audio player for this template, that not only plays MP3s with no Flash, but that will stop playback when a portfolio page is scrolled?

    i.e… when you click on a thumb on the grid and that intro page opens I want an audioplayer there to play a clip. But if the user cliecks the arrow to slide to the next post, it needs to stop. Every one I’ve tried keeps playing.

    Can you help?

    Thanks guys


    Hi mgma,

    The issue is that the audio player has no way of knowing the user has navigated away from the content. I’m not sure if there is a plugin out there that would be able to do what you are looking for.




    I’d be surprised if a player supports this out of the box. Actually you need to modify the portfolio code in js/avia.js – search for:

    case '#next':

    showItem = active.nextAll('.post-entry:not(.isotope-hidden):eq(0)').find('a:eq(0)');
    if(!showItem.length) { showItem = $('.post-entry:not(.isotope-hidden):eq(0)', container).find('a:eq(0)'); }

    case '#prev':

    showItem = active.prevAll('.post-entry:not(.isotope-hidden):eq(0)').find('a:eq(0)');
    if(!showItem.length) { showItem = $('.post-entry:not(.isotope-hidden):last', container).find('a:eq(0)'); }

    and bellow


    add your “player stop” command – it depends on the player script but popular plugins like: offer such an api:

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Audio player on portfolio pages…’ is closed to new replies.