Live preview
How to embed a YouTube video on your website
Embedding a YouTube video in your website is simple — you just need the right HTML iframe code. ThumbRip's embed code generator creates the code automatically with all the options you need: custom size, autoplay, loop, mute, start time, and privacy-enhanced mode.
Privacy-enhanced mode (youtube-nocookie.com) is recommended — it means YouTube won't set tracking cookies on your visitors unless they click play. This is important for GDPR compliance if you have visitors from Europe.
Just paste the video URL, customize your options, copy the code and paste it into your website's HTML where you want the video to appear.