Usage examples of the Switch Tube web service API and the Switch Tube JavaScript embed library.
- download-channel.py is a Python script that illustrates basic usage of the web service. It allows you to downloading all video from a given channel using an access token from your Switch Tube profile.
- list-channels.py list channels you can contribute to.
- upload.py allows you to upload a video to a channel you can contribute to.
- Add and control player shows how to use the embed library to add a video player inside an existing container element on your page, and how to control playback. This is the preferred way to use the embed library from your JavaScript code. You can also view a live demo of this example.
- Control existing iframe uses the embed library to control playback for a video embedded using the HTML embed code from a Switch Tube video page. You can also view a live demo of this example.