Embed videos & playlists
You can add a YouTube video or playlist to a website or blog by embedding it.
Embed a video
- On a computer, go to the YouTube video you want to embed.
- Under the video, click Share .
- Click Embed.
- From the box that appears, copy the HTML code.
- Paste the code into your blog or website HTML.
Embed a playlist
- Sign in to your YouTube account on a computer.
- On the left side of the page, click Playlists.
- For the playlist you want to embed, click its title.
- Click Share .
- Click Embed.
- From the box that appears, copy the HTML code.
- Paste the code into your blog or website HTML.
Manage video embedding options
Turn on privacy-enhanced mode
When you turn on privacy-enhanced mode, YouTube won’t store information about visitors on your website unless they play the video.
Make an embedded video play automatically
To make an embedded video autoplay, add "&autoplay=1" to the video’s embed code right after the video ID (the series of letters that follows "v/").
Embedded videos that are autoplayed don't increment video views.
Example:
<iframe width="560" height="315" src=" https://www.youtube.com/embed/D6Ac5JpCHmI?&autoplay=1" frameborder="0" allowfullscreen></iframe>
Start an embedded video at a certain time
To have a video start playing from a specific point, add “#t=” to a video’s embed code, followed by the time at which you’d like the video to begin playing.
For example, if you want a video to start at 2 minutes and 30 seconds into the video, your embed code would look something like this:
<iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/UkWd0azv3fQ#t=2m30s" width="420"></iframe>
Add captions to an embedded video
Make captions automatically appear for 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 2-letter language codes in the ISO 639-1 standard
Turn off embedding for your videos
If you've uploaded a video and don't want to allow others to embed your video on external sites, follow these steps:
- Go to your Video Manager.
- Go to the video you want to turn off embedding for and click Edit.
- Under the video, click Advanced settings.
- Under "Distribution Options,"uncheck the Allow embedding checkbox.
- Click Save changes.
Watch video :
Share playlists
Embed video-playlist
Share videos
Share animated GIFs of Youtube videos
Yotubes contacts
No comments