Smart Player API Documentation
Note that the Smart Player API will not work when the page is opened as a local file (file://...etc.). In order to test files locally, you will need to serve them through a local web server like XAMPP, MAMP, or LAMP.
If you are new to this API, you will probably want to start with the Getting Started guide. Once you master the basics, find more details on the modules, methods, events, and data objects in the API Reference. There are also several basic code samples and some more complex solutions here to give you ideas about what you can do with the API.