From 1210c8b009677c74d22dfee4a1417bd06285720c Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 4 May 2011 20:58:32 -0400 Subject: [PATCH] skeleton for videosequencer plugin --- plugins/videosequencer/popcorn.videosequencer | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 plugins/videosequencer/popcorn.videosequencer diff --git a/plugins/videosequencer/popcorn.videosequencer b/plugins/videosequencer/popcorn.videosequencer new file mode 100644 index 0000000..f6ffdae --- /dev/null +++ b/plugins/videosequencer/popcorn.videosequencer @@ -0,0 +1,60 @@ +// PLUGIN: Google News + +(function (Popcorn) { + + /** + * Video Sequencer popcorn plug-in + * + * + * @param {Object} options + * + * Example: + var p = Popcorn('#video') + .footnote({ + start: 5, // seconds, mandatory + end: 15, // seconds, mandatory + topic: 'oil spill', // optional + target: 'newsdiv' // mandatory + } ) + * + */ + Popcorn.plugin( "videosequencer" , { + + manifest: { + about:{ + name: "Popcorn Video Sequencer Plugin", + version: "0.1", + author: "Christopher De Cairos", + website: "http://cadecairos.blogspot.com/" + }, + options:{ + srcs : {elem: 'input', type: 'object', label: "Sources"}, + target : 'video-container' + } + }, + _setup : function( options ) { + + + }, + /** + * @member googlenews + * The start function will be executed when the currentTime + * of the video reaches the start time provided by the + * options variable + */ + start: function( event, options ){ + + }, + /** + * @member googlenews + * The end function will be executed when the currentTime + * of the video reaches the end time provided by the + * options variable + */ + end: function( event, options ){ + + } + + }); + +})( Popcorn ); -- 2.43.0