@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | * |
| 163 | 163 | * @param $width |
| 164 | 164 | * @param $height |
| 165 | - * @param $toolbar_height |
|
| 165 | + * @param integer $toolbar_height |
|
| 166 | 166 | */ |
| 167 | 167 | function videoembed_calc_size(&$width, &$height, $aspect_ratio, $toolbar_height) { |
| 168 | 168 | // set video width and height |
@@ -315,6 +315,8 @@ discard block |
||
| 315 | 315 | * parse youtu.be url |
| 316 | 316 | * |
| 317 | 317 | * @param string $url |
| 318 | + * @param integer $guid |
|
| 319 | + * @param integer $videowidth |
|
| 318 | 320 | * @return string youtube.com/embed/hash |
| 319 | 321 | */ |
| 320 | 322 | function videoembed_youtube_shortener_parse_url($url, $guid, $videowidth) { |