target;
return {
- manifest: {
- about:{
- name: "Popcorn Attribution Plugin",
- version: "0.2",
- author: "@rwaldron",
- website: "github.com/rwldrn"
- },
- options:{
- start: { elem:"input", type:"text", label:"In" },
- end: { elem:"input", type:"text", label:"Out" },
- nameofwork: { elem:"input", type:"text", label:"Name of Work" },
- nameofworkurl: { elem:"input", type:"text", label:"Url of Work" },
- copyrightholder: { elem:"input", type:"text", label:"Copyright Holder" },
- copyrightholderurl: { elem:"input", type:"text", label:"Copyright Holder Url" },
- license: { elem:"input", type:"text", label:"License type" },
- licenseurl: { elem:"input", type:"text", label:"License URL" },
- target: "attribution-container"
- }
- },
+
_setup: function( options ) {
var attrib = "",
target && target.removeChild( options._container );
}
};
- })());
+ })(),
+ {
+ about:{
+ name: "Popcorn Attribution Plugin",
+ version: "0.2",
+ author: "@rwaldron",
+ website: "github.com/rwldrn"
+ },
+ options:{
+ start: { elem:"input", type:"text", label:"In" },
+ end: { elem:"input", type:"text", label:"Out" },
+ nameofwork: { elem:"input", type:"text", label:"Name of Work" },
+ nameofworkurl: { elem:"input", type:"text", label:"Url of Work" },
+ copyrightholder: { elem:"input", type:"text", label:"Copyright Holder" },
+ copyrightholderurl: { elem:"input", type:"text", label:"Copyright Holder Url" },
+ license: { elem:"input", type:"text", label:"License type" },
+ licenseurl: { elem:"input", type:"text", label:"License URL" },
+ target: "attribution-container"
+ }
+ });
})( Popcorn );
}
}
};
- },
- {
+ },
+ {
about: {
name: 'Popcorn Code Plugin',
version: '0.1',
return {
- manifest: {
- about:{
- name: "Popcorn LastFM Plugin",
- version: "0.1",
- author: "Steven Weerdenburg",
- website: "http://sweerdenburg.wordpress.com/"
- },
- options:{
- start : {elem:'input', type:'text', label:'In'},
- end : {elem:'input', type:'text', label:'Out'},
- target : 'lastfm-container',
- artist : {elem:'input', type:'text', label:'Artist'}
- }
- },
_setup: function( options ) {
options._container = document.createElement( 'div' );
document.getElementById( options.target ) && document.getElementById( options.target ).removeChild( options._container );
}
};
- })());
+ })(),
+ {
+ about:{
+ name: "Popcorn LastFM Plugin",
+ version: "0.1",
+ author: "Steven Weerdenburg",
+ website: "http://sweerdenburg.wordpress.com/"
+ },
+ options:{
+ start : {elem:'input', type:'text', label:'In'},
+ end : {elem:'input', type:'text', label:'Out'},
+ target : 'lastfm-container',
+ artist : {elem:'input', type:'text', label:'Artist'}
+ }
+ });
})( Popcorn );
return {
- manifest: {
- about: {
- name: "Popcorn Processing Plugin",
- version: "0.1",
- author: "Christopher De Cairos, Benjamin Chalovich",
- website: "cadecairos.blogspot.com, ben1amin.wordpress.org"
- },
- options: {
- start : { elem: "input", type: "text", label: "In" },
- end : { elem: "input", type: "text", label: "Out" },
- target : { elem: "input", type: "text", label: "Target" },
- sketch : { elem: "input", type: "text", label: "Sketch" },
- noPause : { elem: "select", options: [ "TRUE", "FALSE" ], label: "No Loop" }
- }
- },
-
_setup: function( options ) {
options.codeReady = false;
options.parentTarget && options.parentTarget.removeChild( options.canvas );
}
};
+ },
+ {
+ about: {
+ name: "Popcorn Processing Plugin",
+ version: "0.1",
+ author: "Christopher De Cairos, Benjamin Chalovich",
+ website: "cadecairos.blogspot.com, ben1amin.wordpress.org"
+ },
+ options: {
+ start : { elem: "input", type: "text", label: "In" },
+ end : { elem: "input", type: "text", label: "Out" },
+ target : { elem: "input", type: "text", label: "Target" },
+ sketch : { elem: "input", type: "text", label: "Sketch" },
+ noPause : { elem: "select", options: [ "TRUE", "FALSE" ], label: "No Loop" }
+ }
});
}( Popcorn ));
Popcorn.plugin( "tagthisperson" , ( function() {
return {
- manifest: {
- about:{
- name: "Popcorn tagthisperson 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 : 'tagthisperson-container',
- person : {elem:'input', type:'text', label:'Name'},
- image : {elem:'input', type:'text', label:'Image Src'},
- href : {elem:'input', type:'text', label:'URL'}
- }
- },
+
_setup: function( options ) {
var exists = false;
// loop through the existing objects to ensure no duplicates
document.getElementById( options.target ).innerHTML = options._p.toString();
}
};
- })());
+ })(),
+ {
+ about:{
+ name: "Popcorn tagthisperson 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 : 'tagthisperson-container',
+ person : {elem:'input', type:'text', label:'Name'},
+ image : {elem:'input', type:'text', label:'Image Src'},
+ href : {elem:'input', type:'text', label:'URL'}
+ }
+ });
})( Popcorn );