| 1 | <?php |
||
| 8 | class DefaultRenderer implements EmbedRendererInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * A friend once told me that html inside strings |
||
| 12 | * isn't a good thing, but god knows I trying |
||
| 13 | * to make it not dependant of some html element generator |
||
| 14 | * and I'm too lazy/unnecessary to make one of these on my own. |
||
| 15 | * Edit: The best I could do is do an sprintf, so... |
||
| 16 | * |
||
| 17 | * @param string $embedUrl |
||
| 18 | * @param int $width |
||
| 19 | * @param int $height |
||
| 20 | * |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | public function renderVideoEmbedCode($embedUrl, $width, $height) |
||
| 32 | } |
||
| 33 |