Difference between revisions of "User:Cgomes7/Subtitle Documentation"
Line 1: | Line 1: | ||
− | == Subtitle | + | == Subtitle Plugin == |
+ | |||
+ | == Example == | ||
+ | .subtitle({ | ||
+ | start: 5, // seconds | ||
+ | end: 15, // seconds | ||
+ | text: 'this is the a subtitle', | ||
+ | language: "en", | ||
+ | languagesrc: "language", | ||
+ | accessibilitysrc: "accessibility" | ||
+ | } ) | ||
+ | .subtitle({ | ||
+ | start: 20, // seconds | ||
+ | end: 45, // seconds | ||
+ | text: 'this is another subtitle', | ||
+ | language: "en", | ||
+ | languagesrc: "language", | ||
+ | accessibilitysrc: "accessibility" | ||
+ | } ) | ||
+ | |||
+ | }, false); | ||
== Links == | == Links == | ||
− | |||
*[https://github.com/annasob/popcorn-js/blob/0.4/plugins/subtitle/popcorn.subtitle.js Subtitle Source Code] | *[https://github.com/annasob/popcorn-js/blob/0.4/plugins/subtitle/popcorn.subtitle.js Subtitle Source Code] | ||
− | |||
*[https://github.com/annasob/popcorn-js/blob/0.4/plugins/subtitle/popcorn.subtitle.html Example Source Code] | *[https://github.com/annasob/popcorn-js/blob/0.4/plugins/subtitle/popcorn.subtitle.html Example Source Code] |
Revision as of 09:51, 24 February 2011
Subtitle Plugin
Example
.subtitle({ start: 5, // seconds end: 15, // seconds text: 'this is the a subtitle', language: "en", languagesrc: "language", accessibilitysrc: "accessibility" } ) .subtitle({ start: 20, // seconds end: 45, // seconds text: 'this is another subtitle', language: "en", languagesrc: "language", accessibilitysrc: "accessibility" } )
}, false);