Hey Mark. Ok trying to implement what you suggested above. So I got
it working good now firing off an event each time a track is played.
I can capture that event and figure out the URL of the media being
played. all good. but for some reason firing off an event when the
play stops is not working.
I was hoping to be able to fire off an event when a track stops then
read the % complete to figure out how much of the track got played (if
over 50% then count as a play).
This bit of code is not working:
$("#jquery_jplayer_1").bind($.jPlayer.event.ended, function(event) {
alert('you have played this percentage of the file:
'+event.jPlayer.status.currentPercentAbsolute);
});
This works:
$("#jquery_jplayer_1").bind($.
jPlayer.event.play, function(event) {
alert('you have played this percentage of the file:
'+event.jPlayer.status.currentPercentAbsolute);
});
only difference is using play instead of ended...
any ideas?
thanks!
rushme
On Dec 29 2010, 7:56 am, Mark Panaghiston <
mark.panaghis...@gmail.com>
wrote: