Skip to content
defvayne23 edited this page Jan 4, 2012 · 1 revision

This function creates the HTML and then returns it for embedding the Youtube video.

Options

Option Default Description
width 290 The width of the embed
height 250 The height of the embed
autoplay true Will autoplay the video once loaded
fullscreeen false Allows the user to watch in full screen.
related true Show related videos after the video finishes playing
loop false Will auto replay the video once finished playing
keyboard true If the user should be able to control the video using the keyboard
genie false If the genie menu should appear above the controls on the video
border false If a border should wrap the player
highdef true Loads the video in HD when available
start 0 Number in seconds when the video starts
Clone this wiki locally