Input from the viewer can affect the subsequent video, and also be sent to a server for integration with other web applications (social networking, sharing, geotagging), which is possible because effects are rendered on-the-fly in the browser, not pre-rendered like traditional video. Input can also come from external sources (RSS, JSON), so you can integrate external data, or previously generated data, back into subsequent views of the video.
The basic elements of a Cacophony video are:
The official homepage of Cacophony is www.cacophonyjs.com.
Copyright 2010, Johnny Broadway. Released under the GPL Version 2 license.
Step 1: Include the scripts and stylesheet in your
Step 2: Create an element like this in your page, note the ID must be 'cacophony':
Step 3: Add the following script to your web page:
Step 4: Copy the
build/story.js files into your site
and follow the instructions found in each.
You can also refer to the
examples/demo.html file for a complete example, including a
functioning storyline, and callbacks for integrating the player into your page
in various ways.
Cacophony is compatible with the following browsers:
The core player is also compatible with iOS 4.2+ devices, however some
effects will render videos unplayable on current iOS devices (iPhone 4G,
original iPad). As such, iOS support is disabled by default, but can be
enabled in your
settings.js file with the following setting change:
cacophony.enable_ipad = true;
Brought to you by Johnny Broadway