Iframe

iframes can be used to embed videos in pages with these videos not limited to YouTube (ie Facebook videos). Below is an explanation of how to add an iframe to your site.


Code / Usage Example

Shortcode Example:

Code

[iframe src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2F119808651391996%2Fvideos%2F2392486974312498%2F&show_text=0&width=560" title="Video: Urinetown the Musical Preview"]

Attributes

  • src: Take the entire URL for the desired video.
  • Title: The title is important for accessibility reasons, so a description of the video is read to those with certain disabilities.

Usage Example: