Lines Matching refs:width
87 [$width, $height] = $this->parseSize($userparams);
90 $url = $this->insertPlaceholders($this->sites[$site]['url'], $vid, $width, $height);
104 'width' => $width,
134 'width' => $data['width'],
136 'style' => $this->sizeToStyle($data['width'], $data['height']),
156 * @param int|string $width
160 public function sizeToStyle($width, $height)
163 if ($width && $width == (int)$width) {
164 $width .= 'px';
172 if ($width) $style .= 'width:' . $width . ';';
186 width="' . $data['width'] . '"
209 * @param int|string $width
213 public function insertPlaceholders($url, $vid, $width, $height)
218 $url = str_replace('@WIDTH@', $width, $url);