YaWK
24.1
Yet another WebKit
|
Embed a SoundCloud audio player. More...
Public Member Functions | |
__construct ($db) | |
Load all widget settings from database and fill object. More... | |
embedPlayer () | |
Embed SoundCloud Player. More... | |
init () | |
Initialize: Set properties and embed SoundCloud player. More... | |
printObject () | |
Print all object data. More... | |
setProperties () | |
Prepare SoundCloud Player Properties. More... | |
Public Attributes | |
$errorMsg = '' | |
$headline = '' | |
$soundcloudAutoplay = false | |
$soundcloudHeight = '300' | |
$soundcloudHideRelated = false | |
$soundcloudShowComments = false | |
$soundcloudShowReposts = false | |
$soundcloudShowTeaser = false | |
$soundcloudShowUser = false | |
$soundcloudSubtext = '' | |
$soundcloudTitle = '' | |
$soundcloudUrl = '' | |
$soundcloudVisual = false | |
$soundcloudWidth = '100%' | |
$widget = '' | |
Embed a SoundCloud audio player.
Embed any soundcloud track or playlist.
If you want to embed a SoundCloud player on your website, this is the widget to do it. All you need is any public SoundCloud URL. The Widget comes with a few settings like: autoplay on or off, show comments, related music, and much more is customizable within the backend.
Definition at line 16 of file soundcloud.php.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::__construct | ( | $db | ) |
Load all widget settings from database and fill object.
object | $db | Database Object |
Load all widget settings on object init.
Definition at line 54 of file soundcloud.php.
References $db, $settings, $value, and YAWK\widget\getWidgetSettingsArray().
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::embedPlayer | ( | ) |
Embed SoundCloud Player.
Load SoundCloud Iframe
Definition at line 132 of file soundcloud.php.
References YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud\$errorMsg, and YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud\$headline.
Referenced by YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud\init().
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::init | ( | ) |
Initialize: Set properties and embed SoundCloud player.
use this method to run the clock
Definition at line 81 of file soundcloud.php.
References YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud\embedPlayer(), and YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud\setProperties().
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::printObject | ( | ) |
Print all object data.
(for development and testing purpose)
Definition at line 68 of file soundcloud.php.
References exit.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::setProperties | ( | ) |
Prepare SoundCloud Player Properties.
Set Player Properties and HTML Markup Code
Definition at line 94 of file soundcloud.php.
References errorMsg.
Referenced by YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud\init().
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$errorMsg = '' |
string | Store an error msg, if one occurs |
Definition at line 47 of file soundcloud.php.
Referenced by YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud\embedPlayer().
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$headline = '' |
string | Headline HTML Markup |
Definition at line 45 of file soundcloud.php.
Referenced by YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud\embedPlayer().
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$soundcloudAutoplay = false |
bool | true|false - Autoplay enabled? |
Definition at line 27 of file soundcloud.php.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$soundcloudHeight = '300' |
string | Player Height (300) |
Definition at line 43 of file soundcloud.php.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$soundcloudHideRelated = false |
bool | true|false - Hide related? |
Definition at line 29 of file soundcloud.php.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$soundcloudShowComments = false |
bool | true|false - Show Comments? |
Definition at line 31 of file soundcloud.php.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$soundcloudShowReposts = false |
bool | true|false - Show Reposts? |
Definition at line 35 of file soundcloud.php.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$soundcloudShowTeaser = false |
bool | true|false - Show Teaser? |
Definition at line 37 of file soundcloud.php.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$soundcloudShowUser = false |
bool | true|false - Show User? |
Definition at line 33 of file soundcloud.php.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$soundcloudSubtext = '' |
string | Subtext gets drawn as small tag beside the title |
Definition at line 25 of file soundcloud.php.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$soundcloudTitle = '' |
string | Title above the player |
Definition at line 23 of file soundcloud.php.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$soundcloudUrl = '' |
string | The URL of your soundcloud track or playlist |
Definition at line 21 of file soundcloud.php.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$soundcloudVisual = false |
bool | true|false - Visual? |
Definition at line 39 of file soundcloud.php.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$soundcloudWidth = '100%' |
string | Player Width (100%) |
Definition at line 41 of file soundcloud.php.
YAWK\WIDGETS\SOUNDCLOUD\PLAYER\soundcloud::$widget = '' |
object | global widget object data |
Definition at line 19 of file soundcloud.php.