Connect the service
Publish the provider settings in Studio. Place the generated iframe in the page where visitors should see the content. Its destination stays inactive until the visitor allows the purpose.
- YouTube video ID
- Use the public value from your YouTube configuration.
Install the inert iframe where the video should appear. Playback can contact additional Google services. Avoid remote thumbnails or preconnect hints before consent.
Cookie declaration
Review the cookies, browser storage and requests observed on your website. Add each applicable storage entry to the published service declaration.
Verify your installation
- Remove duplicate loaders, noscript pixels and preconnect hints for this provider. Open a clean browser profile.
- Visit the relevant page before choosing, then reject optional services. Inspect network requests and browser storage in both states.
- Allow preferences, exercise the feature, and reopen Cookie settings to withdraw. Confirm that optional loading stops on the refreshed page.