зеркало из https://github.com/mozilla/popcorn-js.git
Merge remote-tracking branch 'cadecairos/t551' into develop
This commit is contained in:
Коммит
1e8c9df865
|
@ -26,7 +26,7 @@
|
|||
*
|
||||
* Example:
|
||||
var p = Popcorn('#video')
|
||||
.footnote({
|
||||
.flickr({
|
||||
start: 5, // seconds, mandatory
|
||||
end: 15, // seconds, mandatory
|
||||
userid: '35034346917@N01', // optional
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
*
|
||||
* Example:
|
||||
var p = Popcorn('#video')
|
||||
.footnote({
|
||||
.googlenews({
|
||||
start: 5, // seconds, mandatory
|
||||
end: 15, // seconds, mandatory
|
||||
topic: 'oil spill', // optional
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
*
|
||||
* Example:
|
||||
var p = Popcorn('#video')
|
||||
.footnote({
|
||||
.lowerthird({
|
||||
start: 5, // seconds, mandatory
|
||||
end: 15, // seconds, mandatory
|
||||
salutation: 'Mr', // optional
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
*
|
||||
* Example:
|
||||
var p = Popcorn('#video')
|
||||
.footnote({
|
||||
.subtitle({
|
||||
start: 5, // seconds, mandatory
|
||||
end: 15, // seconds, mandatory
|
||||
text: 'Hellow world', // optional
|
||||
|
|
|
@ -42,6 +42,26 @@
|
|||
// Garbage collect support test span
|
||||
document.head.removeChild( span );
|
||||
|
||||
/**
|
||||
* Word River popcorn plug-in
|
||||
* Displays a string of text, fading it in and out
|
||||
* while transitioning across the height of the parent container
|
||||
* for the duration of the instance (duration = end - start)
|
||||
*
|
||||
* @param {Object} options
|
||||
*
|
||||
* Example:
|
||||
var p = Popcorn( '#video' )
|
||||
.wordriver({
|
||||
start: 5, // When to begin the Word River animation
|
||||
end: 15, // When to finish the Word River animation
|
||||
text: 'Hello World', // The text you want to be displayed by Word River
|
||||
target: 'wordRiverDiv', // The target div to append the text to
|
||||
color: "blue" // The color of the text. (can be Hex value i.e. #FFFFFF )
|
||||
} )
|
||||
*
|
||||
*/
|
||||
|
||||
Popcorn.plugin( "wordriver" , {
|
||||
|
||||
manifest: {
|
||||
|
|
Загрузка…
Ссылка в новой задаче