See license.txt for licensing details
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.
The following code libraries are required and are listed in the order in which to include them:
A Makefile has been included with this distribution to allow for running
system-level commands to minimize the code and provide a distribution
dist/ with two files,
videoanno.js which is the full,
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.
First, use the git command git clone to copy the remote repository
to your directory, like so:
git clone git://github.com/umd_mith/OACVideoAnnotator.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
The built version of OACVideoAnnotator will be in the
To remove all built files, run
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