What you will need…

  • The Player JavaScript Framework.
  • An embedded viddler player.

How it works…

The Player JavaScript framework gives a developer access to controls within a loaded viddler player. These controls will include playing and pausing the video or loading in a new video without reloading the page. See the example below.

Seek to…

0:15 0:30 0:45

Load Movie…

Morning Drive

Intersection

Intersection @1:00

How to use it…

First things first you will have to include this line in the <head> of your HTML document.

<script type="text/javascript" src="http://viddler.com/js/viddler.js"></script>

The Functions

The following javascript functions can be used to manipulate the player

viddlerSeek(seconds)

This function will force the player to seek to a time point in the video.

viddlerSwitch(’object_id’,'username’,videonumber,seconds)

This function will force the player to seek to a time point in the video.