Player onProgress example
The example source is there. You can have a live run of the examples here.
This example shows how to use the verb setSubscriptionDuration() on a player for having an onProgress callback. There is a slider to show how the playback frequency can be adjust.
This example is really basic.