SproutCMS

This is the code documentation for the SproutCMS project

function renderEmbed()

Return HTML for embedding a video, based on the URL.
Supports YouTube and Vimeo.

Options include:
   bool    autoplay   Begin playing the video straight away
   string  title      Title attribute

Usage

unknown EmbedVideo::renderEmbed ( string $url [, int $width [, int $height , array $options ]] );

Arguments

  1. string $url
  2. int $width = 400
  3. int $height = 300
  4. array $options