YaWK
24.1
Yet another WebKit
|
Plyr HTML5 Media Player Widget. More...
Public Member Functions | |
__construct ($db) | |
Load all widget settings from database and fill object. More... | |
checkMediaFileType () | |
Check and set media file type. More... | |
checkTextTrack () | |
embedPlyr () | |
init () | |
Init example widget and call a function for demo purpose. More... | |
setPoster () | |
![]() | |
getHeading ($heading, $subtext) | |
Get widget heading and subtext, return headline. More... | |
getWidgetSettingsArray ($db) | |
Get widget settings and return it as array. More... | |
printObject () | |
Print all object data. More... | |
Public Attributes | |
$plyrAutoplay = false | |
$plyrClickToPlay = true | |
$plyrDisableContextMenu = true | |
$plyrFiletype = '' | |
$plyrHeading = '' | |
$plyrHideControls = true | |
$plyrMediaFile = '' | |
$plyrPoster = '' | |
$plyrPosterHtml = '' | |
$plyrShowPosterOnEnd = false | |
$plyrSubtext = '' | |
$plyrTextTrackFile = '' | |
$plyrTextTrackFileHtmlOutput = '' | |
$plyrTextTrackLabel = '' | |
$plyrTextTrackSrcLang = '' | |
$plyrWidth = '100%' | |
$widget = '' | |
![]() | |
$data | |
$date_publish | |
$date_unpublish | |
$folder | |
$id | |
$marginBottom | |
$marginTop | |
$name | |
$pageID | |
$position | |
$published | |
$sort | |
$widgetTitle | |
$widgetType | |
Additional Inherited Members | |
![]() | |
static | getAllSettingsIntoArray ($db, $widgetID) |
Returns an array with all widget settings data. More... | |
static | getAllWidgetTypes ($db) |
Return all widget types as associative array. More... | |
static | getCurrentWidgetPath ($db) |
return current widget path More... | |
static | getFacebookLikeBox () |
return the facebook likebox widget More... | |
static | getLoginBox () |
return the user login box widget More... | |
static | loadWidgetsOfPage ($db, $page) |
Returns an array of all widgets that are linked with given page->id. More... | |
Plyr HTML5 Media Player Widget.
Plyr Widget - html5 based video player
Plyr is a a simple, accessible and customisable and wide-known media player for HTML 5 Video, Audio, YouTube, and Vimeo. All you need is the url to your media file. As you wish, you can set some settings like width, height, poster image, media control functions, autoplay and much more.
YAWK\WIDGETS\PLYR\PLAYER\plyr::__construct | ( | $db | ) |
YAWK\WIDGETS\PLYR\PLAYER\plyr::checkMediaFileType | ( | ) |
Check and set media file type.
check and set media file type
Definition at line 90 of file plyr.php.
Referenced by YAWK\WIDGETS\PLYR\PLAYER\plyr\init().
YAWK\WIDGETS\PLYR\PLAYER\plyr::checkTextTrack | ( | ) |
Definition at line 121 of file plyr.php.
Referenced by YAWK\WIDGETS\PLYR\PLAYER\plyr\init().
YAWK\WIDGETS\PLYR\PLAYER\plyr::embedPlyr | ( | ) |
YAWK\WIDGETS\PLYR\PLAYER\plyr::init | ( | ) |
Init example widget and call a function for demo purpose.
Example Widget Init
Definition at line 73 of file plyr.php.
References YAWK\WIDGETS\PLYR\PLAYER\plyr\checkMediaFileType(), YAWK\WIDGETS\PLYR\PLAYER\plyr\checkTextTrack(), YAWK\WIDGETS\PLYR\PLAYER\plyr\embedPlyr(), YAWK\widget\getHeading(), and YAWK\WIDGETS\PLYR\PLAYER\plyr\setPoster().
YAWK\WIDGETS\PLYR\PLAYER\plyr::setPoster | ( | ) |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrAutoplay = false |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrClickToPlay = true |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrDisableContextMenu = true |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrFiletype = '' |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrHeading = '' |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrHideControls = true |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrMediaFile = '' |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrPoster = '' |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrPosterHtml = '' |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrShowPosterOnEnd = false |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrSubtext = '' |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrTextTrackFile = '' |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrTextTrackFileHtmlOutput = '' |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrTextTrackLabel = '' |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrTextTrackSrcLang = '' |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$plyrWidth = '100%' |
YAWK\WIDGETS\PLYR\PLAYER\plyr::$widget = '' |