CoSolvent Player » Usage Statistics API
The player is capable of tracking basic usage statistics through a javascript API.
The following information is made available:
Calling getUsageJSON on a flash object representing an instance of CoSolvent player will return a JSON encoded string with the snapshot of data at the time of the call.
The object is formatted as follows: { 0: <play>, 1: <pause>, 2: <seek>, 3: <avg insert>, 4: <total time>}
As well, the following javascript calls are made by the player when events occur:
To enable this functionality, be sure to add trackUsage: true to the ui configuration object as such:
ui: { trackUsage: true }