@@ -99,11 +99,11 @@ discard block |
||
99 | 99 | protected function flashPlayer(string $video_url):string{ |
100 | 100 | |
101 | 101 | return '<div'.$this->getCssClass($this->cssclass).'>' |
102 | - .'<object type="application/x-shockwave-flash" data="'.$video_url.'">' |
|
103 | - .'<param name="allowfullscreen" value="true">' |
|
104 | - .'<param name="wmode" value="opaque" />' |
|
105 | - .'<param name="movie" value="'.$video_url.'" />' |
|
106 | - .'</object></div>'; |
|
102 | + .'<object type="application/x-shockwave-flash" data="'.$video_url.'">' |
|
103 | + .'<param name="allowfullscreen" value="true">' |
|
104 | + .'<param name="wmode" value="opaque" />' |
|
105 | + .'<param name="movie" value="'.$video_url.'" />' |
|
106 | + .'</object></div>'; |
|
107 | 107 | } |
108 | 108 | |
109 | 109 | /** |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | protected function embedPlayer(string $video_url):string{ |
115 | 115 | |
116 | 116 | return '<div'.$this->getCssClass($this->cssclass).'>' |
117 | - .'<iframe src="'.$video_url.'" allowfullscreen></iframe></div>'; |
|
117 | + .'<iframe src="'.$video_url.'" allowfullscreen></iframe></div>'; |
|
118 | 118 | } |
119 | 119 | |
120 | 120 | /** |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | protected function html5Player():string{ |
124 | 124 | |
125 | 125 | return '<video src="'.$this->checkUrl($this->content).'"' |
126 | - .$this->getCssClass($this->cssclass).' preload="auto" controls="true"></video>'; |
|
126 | + .$this->getCssClass($this->cssclass).' preload="auto" controls="true"></video>'; |
|
127 | 127 | } |
128 | 128 | |
129 | 129 | /** |
@@ -73,8 +73,8 @@ discard block |
||
73 | 73 | protected function table():string{ |
74 | 74 | |
75 | 75 | return '<table'.$this->getCssClass(['bb-table']) |
76 | - .$this->getStyle(['width' => $this->getAttribute('width')]) |
|
77 | - .'>'.$this->eol($this->content).'</table>'; |
|
76 | + .$this->getStyle(['width' => $this->getAttribute('width')]) |
|
77 | + .'>'.$this->eol($this->content).'</table>'; |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
@@ -140,8 +140,8 @@ discard block |
||
140 | 140 | } |
141 | 141 | |
142 | 142 | return '<'.$this->tag.$colspan.$rowspan.$abbr.$this->getCellStyle().'>' |
143 | - .$this->eol($this->content, $this->eol_token) |
|
144 | - .'</'.$this->tag.'>'; |
|
143 | + .$this->eol($this->content, $this->eol_token) |
|
144 | + .'</'.$this->tag.'>'; |
|
145 | 145 | } |
146 | 146 | |
147 | 147 | /** |
@@ -246,7 +246,6 @@ |
||
246 | 246 | |
247 | 247 | /** |
248 | 248 | * Checks if an attribute exists and if it exists as key in a whitelist |
249 | - |
|
250 | 249 | * @param string $name the desired attributes name |
251 | 250 | * @param array $whitelist an array with whitelisted key -> value pairs |
252 | 251 | * @param mixed $default [optional] a default value in case the attribute isn't set, defaults to false |
@@ -246,7 +246,6 @@ |
||
246 | 246 | |
247 | 247 | /** |
248 | 248 | * Checks if an attribute exists and if it exists as key in a whitelist |
249 | - |
|
250 | 249 | * @param string $name the desired attributes name |
251 | 250 | * @param array $whitelist an array with whitelisted key -> value pairs |
252 | 251 | * @param mixed $default [optional] a default value in case the attribute isn't set, defaults to false |