Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Video Annotator

The Video Annotator developer library is the result of an experiment un as part of the Open Annotation collaboration to test the OA data model for use in exchanging annotations of streaming video.

See license.txt for licensing details

Drupal Module

A module has been written for Drupal 7.x that incorporates the OAC Annotation Tool as a demonstration of how to incorporate the tool into an application. The source is in the drupal subdirectory of this repository. See the README in that directory for more information on installing, configuring, and using the module.

Setting up the OAC Annotation Tool

What you will need for your site

The following code libraries are required and are listed in the order in which to include them:

  • jQuery
  • Raphaël.js
  • MITHgrid

What you will need for building Video Annotator

A Makefile has been included with this distribution to allow for running system-level commands to minimize the code and provide a distribution directory dist/ with two files, videoanno.js which is the full, human-readable version of the Javascript code, and videoanno.min.js, which is a compressed version of the core code library intended for quick-loading in the browser. The minified version is, of course, much less readable than the full version.

In order to perform this build process, you need to have GNU make 3.81 or later, Node.js 0.5 or later, and git 1.7 or later. Earlier versions might work, but they have not been tested.

Mac OS users should install Xcode, either from the Mac OS install DVD or from the Apple Mac OS App Store. Node.js can be installed by one of the UNIX package managers available for the Mac OS.

Linux/BSD users should use their appropriate package managers to install make, git, and node.

How to build your own Video Annotator

First, use the git command git clone to copy the remote repository to your directory, like so: git clone git://

Then, to get a complete, minified, jslinted version of Video Annotator, cd to the directory containing the files for Video Annotator and type make. If you don't have Node installed and/or want to make a basic, uncompressed, unlinted version of Video Annotator, use make videoanno instead of make.

The built version of OACVideoAnnotator will be in the dist/ subdirectory.

To remove all built files, run make clean.

Testing Video Annotator

Direct your browser to /your installation directory/tests/ and it will display the QUnit tests that have been set up with this release. For more information on QUnit and how you can set up your own tests, visit the QUnit documentation


Video Annotation facet of MITHGrid for the OAC - Alexander Street Press project.







No releases published


No packages published