Cookie Consent for Youtube Embeds?

Has anyone figured out a way to present YouTube embeds that are GDPR compliant?

I’ve tried using the “Youtube-nocookie.com” URLS in Webflow’s native Youtube widget and those get rejected. That’s not a total solution either because cookies are activated as soon as the user clicks play, regardless of whether they’ve accepted cookies.

I’m thinking something like preventing a specific section of a page containing Youtube embeds from loading if cookies are denied, and instead conditionally displaying “Allow cookies to see this content from YouTube”? Anyone tried something like this? I don’t know where to begin on that.

Did you find a solution to prevent YouTube from loading?