Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I was having a similar issue.
    In my case I wanted 2 posts but then it displayed 6 posts followed by the 2 selected posts.
    It turned out that those 6 posts were all the posts set to stick to the front page of my blog (sticky posts).
    Selecting “Ignore sticky posts” option solved the issue.

    I’d like to add that it shouldn’t be necessary when getting posts by ID (“Comma-separated list of post IDs”).

    Thread Starter fterra

    (@fterra)

    After some debugging I managed to workaround the issue by editing the file: wp-includes/js/mediaelement/wp-playlist.js and adding an if condition to bindPlayer function, which now looks like this:

    bindPlayer : function (mejs) {
    			if (this.mejs === undefined) {
    				this.mejs = mejs;
    				this.mejs.addEventListener( 'ended', this.ended );
    			}
    		}

    Because at some point this function would get called to bind the other audio player to this playlist, even though it was already binded to its (correct) own player.

    But as I told, this is just a workaround.
    Hope to see it fixed soon.

Viewing 2 replies - 1 through 2 (of 2 total)