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: |
|
int getVideoHeigth(
[object
$image = NULL]
)
|
|
Returns the width of the player
Parameters:
|
object |
$image: |
the image for which the height is requested |
int getVideoWidth(
[object
$image = NULL]
)
|
|
Returns the height of the player
Parameters:
|
object |
$image: |
the image for which the width is requested |
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 |