Media in the <iframe> Element

The other common use of the embeddable iframe element is to include media players in your site, such as YouTube, Vimeo, SoundCloud, or Bandcamp.

<!-- YouTube Example from UM's own Dr. Michael Musick -->
<iframe width="560" height="315" src="https://www.youtube.com/embed/-0wEUKJTHnQ" frameborder="0" allowfullscreen></iframe>

How-To:

The process of using these services is similar to that Google map example. From the content you wish to use:

  • Find the “share” link,
  • select “embed” as opposed to “share link” tab,
  • copy the iframe code,
  • paste it to your site.

More on this process can be found in the upcoming embed video and embed audio pages.