embed::youtube($url, $attr = array())

Embeds a youtube video by passing the Youtube url

  • $url (string)
    Youtube url i.e. http://www.youtube.com/watch?v=d9NF2edxy-M
  • $attr (array)
    Additional attributes for the iframe
  • return (string)

Is something missing or incorrect? Edit this page on Github…