Description Usage Arguments Details Value Note References See Also Examples
YT - Wrap a YouTube tag or url to generate an HTML iframe tag.
VM - Wrap a Vimeo tag or url OR to generate an HTML iframe tag.
VD - Wrap a local path to generate an HTML video tag.
| 1 2 3 4 5 6 7 8 9 | YT(path = "clipboard", width = 640, height = 360,
  copy2clip = interactive(), print = FALSE)
VM(path = "clipboard", width = 640, height = 360,
  copy2clip = interactive(), print = FALSE)
VD(path = "clipboard", video.js.path = "assets/js/vidscript.js",
  width = "100%", height = 520, indent.controls = 4,
  copy2clip = interactive(), print = FALSE)
 | 
| path | A url/tag/path. Default is to read from the clipboard.  Note that
 | 
| width | The width of the player. | 
| height | The height of the player. | 
| copy2clip | logical.  If  | 
| print | logical.  If  | 
| video.js.path | The path to the vidscript.js.  If the file is not found
in the  | 
| indent.controls | An integer value for number of indents to push the control panel. | 
Use YT for YouTube videos and VM for Vimeo videos.
Returns a character vector of an HTML iframe tag that embeds a YouTube or Vimeo video.
For YouTube videos it may be better to utilize a slide layout class as
a slide with a link followed by a slide with a youtube video may cause the
link to become in active.  To create a youtube slide use the form:
--- .YT yt:ArHQjQyIS70 &youtube where the portion after yt: is
the youtube tag.
http://blog.teamtreehouse.com/building-custom-controls-for-html5-videos
| 1 2 3 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.