Skip to content

Usage examples of the SWITCHtube web service API and the SWITCHtube JavaScript embed library.

License

Notifications You must be signed in to change notification settings

Fingertips/SwitchTube-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Switch Tube usage examples

Usage examples of the Switch Tube web service API and the Switch Tube JavaScript embed library.

Web service API

  • 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.

JavaScript embed library

  • 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.

About

Usage examples of the SWITCHtube web service API and the SWITCHtube JavaScript embed library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published