Skip to main content
CSS-Tricks
  • Articles
  • Videos
  • Almanac
  • Newsletter
  • Guides
  • DigitalOcean
  • DO Community
Search

Articles Tagged
iframe

3 Articles
{
,

}
Direct link to the article iframe feedback
iframe

iframe feedback

Direct Link

What if an <iframe had within it another <iframe of the exact same source? Inception, as they say. Baptise Crespy does this all-important research in the name of art and science.

Turns out browsers are smart enough to not …

Avatar of Chris Coyier
Shared by Chris Coyier on Feb 11, 2021
Direct link to the article lite-youtube-embed
iframe web components youtube

lite-youtube-embed

Direct Link

A standard copy-and-paste YouTube embed lands on your page as an <iframe></iframe> which loads a big ol’ pile of other stuff to play that video. But the UX of it is still essentially an image and a play button. Click …

Avatar of Chris Coyier
Shared by Chris Coyier on Dec 13, 2019
Direct link to the article Lazy load embedded YouTube videos
iframe lazy loading youtube

Lazy load embedded YouTube videos

This is a very clever idea via Arthur Corenzan. Rather than use the default YouTube embed, which adds a crapload of resources to a page whether the user plays the video or not, use the little tiny placeholder webpage that …

Avatar of Chris Coyier
Chris Coyier on Aug 20, 2019 (Updated on Dec 27, 2021)

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • DigitalOcean
  • DigitalOcean Community
  • About DigitalOcean
  • Legal
  • Agency Coaching
  • Free Credit Offer
CSS-Tricks
  • Email
  • Guest Writing
  • Book
  • Advertising
Follow
  • Mastodon
  • Twitter
  • Instagram
  • YouTube
  • CodePen
  • iTunes
  • RSS
Back to Top