I haven’t investigated how Chrome / Safari handle youtube embeds, but there are a few things I’d explore;
If you’re using WF’s native vid element, it’s using embed.ly as an intermediary. Compare that to a raw, native youtube embed to see if there’s a loading difference.
WF’s native youtube element might use embed.ly, or might not. Check to see what it generates and try both native elements to see if you get a performance difference.
If all three configs ( WF vid element, WF youtube element, native youtube embed ) have performance issues, you can try using a fast loading image thumbnail representation with a play button, and on click…
WF lightboxed vid
Script-load the vid embed only after the thumbnail is clicked
If you just want the vid and don’t care much about using the YT platform itself, I’d look at hosting the vid elsewhere, like Vidzflow, Vimeo, or cloudflare R2 depending on the size and nature of the vid. You’ll get more player and player-loading options that way, which is often easier to script control.
Okay I need a site plan for that so when we go live today or tomorrow I will try using the “custom code” block(correct?) and embed the youtube directly in.