Media in the iframe Element
The other common use of the embeddable iframe element is to include media players in your site, such as those from YouTube, Vimeo, SoundCloud, or Bandcamp. When I embed our design lecture videos into Moodle, this is how I do it!
You will learn how to do this later in the Topic.
HTML
<iframe width="560" height="315" src="https://www.youtube.com/watch?v=QFo_u0AorBg" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
- Previous
- Next