48 $this->
widget = new \YAWK\widget();
59 public function init()
61 echo $this->
getHeading($this->twitchHeading, $this->twitchSubtext);
63 if ($this->twitchChannelFullscreen ===
"true") {
64 $allowfullscreen =
"allowfullscreen=\"true\"";
66 $allowfullscreen =
'';
70 <!-- twitch video stream -->
72 src=\"http://player.twitch.tv/?channel=$this->twitchChannel\"
73 height=\"$this->twitchChannelHeight\"
74 width=\"$this->twitchChannelWidth\"
81 if (isset($this->twitchChat) && ($this->twitchChat === 1)) {
88 src=\"http://www.twitch.tv/popout/$this->twitchChannel/chat\"
89 height=\"$this->twitchChatHeight\"
90 width=\"$this->twitchChatWidth\">
if(isset($_POST['save'])) $settings