logo

API examples

This page contains an overview of examples, demonstrating the capabilities of the THEOplayer 2.X API and custom JavaScript. With these examples, we try to explain the fundamentals of how to use our API:

  • Accessing player properties and using methods (e.g. currentTimeduration, ...) ,
  • Hooking to events,
  • Inserting DOM-elements (buttons, text, ...) in the UI
  • ...

The examples are sorted per subject, and a link can re-appear if it also relates to another subject. New examples will be added from time to time, when new use cases arise, or when new developments happen.

If you are new to THEOplayer 2.X, please read our Getting Started with the THEOplayer Web SDK or our 2.X API pages.

Properties and methods

Events

UI

github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2020. All Rights Reserved.
Leuven
New York
San Francisco
Singapore
Barcelona