Manage video embedding options

Privacy-enhanced mode allows you to embed YouTube videos without using cookies that track viewing behaviour. This means that viewing of embedded videos isn't collected to personalise the viewing experience. Instead, video recommendations are contextual and related to the currently played video. Videos playing in a privacy-enhanced mode embedded player won't influence the viewer's browsing experience on YouTube.

(The privacy-enhanced mode only relates to tracking of viewer behaviour, not ad-serving behaviour. To disable tracking for advertising purposes, you can add yourself to the Tag for child-directed treatment page.)

Note:

If the viewer clicks or taps out of the embed and is redirected to another website or app, that website or app may track the viewer's behaviour as per that website or app's policies and terms.

Privacy-enhanced mode is currently available only for embedded players on websites. Developers will have to wrap the privacy-enhanced mode player into a web-view instance in order to use it in apps.

To use privacy-enhanced mode, change the domain for the embed URL in your HTML from https://www.youtube.com to https://www.youtube-nocookie.com as shown in the following example:

Make captions automatically appear on an embedded video by adding "&cc_load_policy=1" to the video's embed code.

You can also choose a caption language for the embedded video. To specify the caption language for the video that you'd like to embed, just add "&cc_lang_pref=fr&cc_load_policy=1" to the video's embed code.

"cc_lang_pref" sets the language for the captions shown in the video.

'cc_load_policy=1' turns captions on by default.

"fr" represents the language code for French. You can look up two-letter language codes in the ISO 639-1 standard.