If I understand correctly, you want:
- to send to the server a request when the user clicks a button.
- The request should contain the current position of the playback
- the request should be done by a script in the web page.
Is this the case, or I just misunderstood?
There are also other JS API demos on http://osmf.org/dev/1.6-sprint-3
Let me know it it worked.