Difference between revisions of "User:Cgomes7/Subtitle Documentation"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
== Subtitle Documentation ==
+
== 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 ==
'''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.js Subtitle Source Code]
'''Examples'''
 
 
*[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 10: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);

Links