From 83a9a3b5754f9132cb31060dd5bfad08839f2040 Mon Sep 17 00:00:00 2001 From: Anna Sobiepanek Date: Wed, 22 Dec 2010 14:52:17 -0500 Subject: [PATCH] added manifest to footnote [#237] --- plugins/footnote/popcorn.footnote.html | 2 +- plugins/footnote/popcorn.footnote.js | 18 ++++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/plugins/footnote/popcorn.footnote.html b/plugins/footnote/popcorn.footnote.html index 0f9e0c4..8d4f473 100644 --- a/plugins/footnote/popcorn.footnote.html +++ b/plugins/footnote/popcorn.footnote.html @@ -27,7 +27,7 @@ -

Popcorn Footnore Plug-in Demo

+

Popcorn Footnote Plug-in Demo

A footnote displaying This video made exclusively for drumbeat.org' will appear at 5 seconds and disappear at 15 seconds.

A footnote displaying 'Visit webmademovies.org for more details' will appear at 20 seconds and disappear at 45 seconds.

diff --git a/plugins/footnote/popcorn.footnote.js b/plugins/footnote/popcorn.footnote.js index b4d90a7..f1d799c 100644 --- a/plugins/footnote/popcorn.footnote.js +++ b/plugins/footnote/popcorn.footnote.js @@ -31,8 +31,22 @@ var temp; return { + manifest: { + about:{ + name: "Popcorn Footnote Plugin", + version: "0.1", + author: "@annasob", + website: "annasob.wordpress.com" + }, + options:{ + start : {elem:'input', type:'text', label:'In'}, + end : {elem:'input', type:'text', label:'Out'}, + target : 'map-container', + text : {elem:'input', type:'text', label:'Text'} + } + }, /** - * @member webpage + * @member footnote * The start function will be executed when the currentTime * of the video reaches the start time provided by the * options variable @@ -42,7 +56,7 @@ temp.innerHTML = options.text; }, /** - * @member webpage + * @member footnote * The end function will be executed when the currentTime * of the video reaches the end time provided by the * options variable -- 2.43.0