oembed – Avoid embedding YouTube videos and open them in a new window
Everything I see around oEmbed is about embedding the videos, not de-embedding them, 😛
There are a bunch of “load defer” or “lazy load” plugins, and the nearest I got to it has been with “WP YouTube Lyte“: it gets the video thumbnail from youtube, adds a “play” icon, and serves it statically on the page. Once you click on it, it loads the Youtube player.
This would be great if, instead of loading the player in place, it would send you to a new page, avoiding any cross-loading of scripts and cookies.
Can I use oEmbed in my favor?
Leave an answer