What spoolProxy({ embeds }) does to a server-rendered <iframe> of a YouTube or Vimeo embed:
it becomes an iframe whose srcdoc is one link to the real embed, so the player loads when the
visitor clicks. providers defaults to both. thumbnail shows YouTube's hqdefault.jpg in the
link; default true, and Vimeo always gets a plain placeholder. A page that sends a
Content-Security-Policy header is left alone, because the facade needs an inline style and the
thumbnail host, unless ignoreCsp is true.
What
spoolProxy({ embeds })does to a server-rendered<iframe>of a YouTube or Vimeo embed: it becomes an iframe whosesrcdocis one link to the real embed, so the player loads when the visitor clicks.providersdefaults to both.thumbnailshows YouTube'shqdefault.jpgin the link; default true, and Vimeo always gets a plain placeholder. A page that sends aContent-Security-Policyheader is left alone, because the facade needs an inline style and the thumbnail host, unlessignoreCspis true.