# How to condition a Youtube video on your website?

This use case is explaining how to embed an external video on your website such as a Youtube video. As third party video vendors will have access to the visitors personal data, it is recommended to collect the visitor's consent before launching the video.

* Follow the link below with all the steps to follow to use a video from Youtube without CMS:

[samples/readme.md at main · didomi/samples · GitHub](https://github.com/didomi/samples/blob/main/how-to-embed-youtube/readme.md)

* Here is the live page with the result to get:

[How to condition Youtube (with Didomi) ](https://didomi.github.io/samples/how-to-embed-youtube/)
