[ class tree: plugins ] [ index: plugins ] [ all elements ]

Class: flowplayer3

Source Location: /zp-extensions/flowplayer3.php

Class flowplayer3

Method Summary
void   getPlayerConfig()   Print the JS configuration of flowplayer
int   getVideoHeigth()   Returns the width of the player
int   getVideoWidth()   Returns the height of the player
void   printPlayerConfig()   outputs the player configuration HTML

[ Top ]
Methods
getPlayerConfig  [line 190]

  void getPlayerConfig( [string $moviepath = ''], [string $imagetitle = ''], [ $count = ''], [ $width = NULL], [ $height = NULL]  )

Print the JS configuration of flowplayer

Parameters:
string   $moviepath:  the direct path of a movie (within the slideshow), if empty (within albums) the zenphoto function getUnprotectedImageURL() is used
string   $imagetitle:  the title of the movie
   $count: 
   $width: 
   $height: 


[ Top ]
getVideoHeigth  [line 335]

  int getVideoHeigth( [object $image = NULL]  )

Returns the width of the player

Parameters:
object   $image:  the image for which the height is requested


[ Top ]
getVideoWidth  [line 325]

  int getVideoWidth( [object $image = NULL]  )

Returns the height of the player

Parameters:
object   $image:  the image for which the width is requested


[ Top ]
printPlayerConfig  [line 315]

  void printPlayerConfig( [string $moviepath = ''], [string $imagetitle = ''], [string $count = '']  )

outputs the player configuration HTML

Parameters:
string   $moviepath:  the direct path of a movie (within the slideshow), if empty (within albums) the zenphoto function getUnprotectedImageURL() is used
string   $imagetitle:  the title of the movie to be passed to the player for display (within slideshow), if empty (within albums) the function getImageTitle() is used
string   $count:  unique text for when there are multiple player items on a page


[ Top ]

Documentation generated on Tue, 20 Dec 2011 16:07:13 +0100 by phpDocumentor 1.4.3