Open main menu

CDOT Wiki β

Changes

User:Minooz/OSD600/popcorn/doc

453 bytes added, 21:37, 26 February 2011
Documentation for tagthisperson plugin
:: <TT>tagthisperson</TT>
 
: Example
::
var p = Popcorn('#video')
 
.play()
 
.volume(0)
 
.tagthisperson({
 
start: 0, // seconds
 
end: 10, // seconds
 
person: 'Anna Sob',
 
image: 'http://newshour.s3.amazonaws.com/photos%2Fspeeches%2Fguests%2FRichardNSmith_thumbnail.jpg',
 
href: 'http://annasob.wordpress.com',
 
target: 'tagdiv'
 
} )
 
.tagthisperson({
 
start: 5, // seconds
 
end: 15, // seconds
 
person: 'Scott',
 
href: 'http://scottdowne.wordpress.com/',
 
target: 'tagdiv'
 
} )
: Description
:: Adds people's names to an element on the page
1
edit