Viewing 5 replies - 1 through 5 (of 5 total)
  • I call this jQuery function on load to do the trick (just implemented it today in fact. Let me know if it works for you. I have this saved outside of the plugin so it doesn’t get written over on updates.

    function openPlaylist(){
    (function($) {
    $(‘.se_albumplayer .playlistWrap’).css(‘display’,’block’);
    })(jQuery);

    }

    Thread Starter mtingle

    (@mtingle)

    excellent! Works a treat. Thanks sreed27.

    For those needing a little extra info I added this to the header of my theme in the <header> area:

    <script>
    function openPlaylist(){
    (function($) {
    $('.se_albumplayer .playlistWrap').css('display','block');
    })(jQuery);
    
    }
    </script>

    And then I added this to the <body> code:

    <body onload="openPlaylist()">

    Thread Starter mtingle

    (@mtingle)

    one thing I noticed sreed27, is that once a track is selected from the playlist, the playlist collapses again. Any easy fix to prevent this from happening?

    Hmm. Yes that does bother me too. I dug into the plugin code, and it looks like the playlistWrap.slideToggle() method is being called on four different lines. I tried commenting it out, which did keep the player from collapsing, but doing so did cause a few other errors (playback progress stopped working and songs did not automatically play on to the next)…Hope that helps a little. I’m going to live with the collapsing for now.

    Thread Starter mtingle

    (@mtingle)

    I’ve managed to get it to work by adjusting the app.min.js file directly.

    I searched for ‘.slideToggle()’ and removed them all. note I removed the ‘.’ at the beginning also.

    No errors so far and tracks play continuously.

    I also changed it so that if you click the picture of the album it starts playing. I did this by changing the ‘class’ of the image on line 71 of functions.php to:

    class="playPauseBtn icon-play bttn"

    thanks for the coding tips.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Playlist starts Open’ is closed to new replies.