embed::youtube
Embeds a youtube video by passing the Youtube url
embed::youtube($url, $attr = array())
Parameters
- $url (string)
- Youtube url i.e. http://www.youtube.com/watch?v=d9NF2edxy-M
- $attr (array)
- Additional attributes for the iframe
Return values
- string