Accessing the Slider’s Video API

This article covers how you can gain access to the YouTube, Vimeo and HTML Video player(s), opening up the possibility for advanced controls

Get your slider's API variable name, and use the Slider's "onvideoplay" event to grab the video player.

The "player" will represent one of the following, depending on the type of video you're using

Click the links below for information about which methods/events are available for each video type.

Basic Usage Example:

In the example below, “data.videotype” can be used if the video type is possibly unknown