Skip to content

How to get cookie consent before Youtube product video play embed in the Product Page in Magento 2. Just like as shown in the image attached

I want to add a consent option before the Youtube video play. Video must play only if user has given consent.enter image description here