Switch Tube JS embed library

Control existing iframe

This example shows how to use the embed library to control playback for a video embedded using the HTML embed code from a Switch Tube video page.

The results of the status buttons above are logged to the browser’s JavaScript console.