WordPress.org

Ready to get started?Download WordPress

Forums

MP3-jPlayer
Number of plays (2 posts)

  1. behzadg
    Member
    Posted 10 months ago #

    Hi,

    Thanks for this plugin, is there anyway to get number of plays with this code:

    jQuery(".musicplayer").bind($.jPlayer.event.play, function(event) {
        // ajax count code
    });

    Cheers,
    B G.

    https://wordpress.org/plugins/mp3-jplayer/

  2. simon.ward
    Member
    Plugin Author

    Posted 10 months ago #

    You wouldn't need to bind anything else to accomplish the js part of it, you could just drop your function calls straight into mp3-jplayer.js, into E_change_track() for example.

    Simon

Reply

You must log in to post.

About this Plugin

About this Topic