From: unknown Date: Thu, 5 May 2011 00:58:32 +0000 (-0400) Subject: skeleton for videosequencer plugin X-Git-Tag: v0.6~2^2~4^2~7 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=1210c8b009677c74d22dfee4a1417bd06285720c;p=popcorn-js.git skeleton for videosequencer plugin --- 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 );