{"id":12707482,"date":"2020-04-21T19:23:32","date_gmt":"2020-04-21T19:23:32","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_article&p=12707482"},"modified":"2024-06-09T10:12:56","modified_gmt":"2024-06-09T10:12:56","slug":"youtube-embed","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/youtube-embed\/","title":{"rendered":"YouTube embed"},"content":{"rendered":"\n
Go back to the list of Blocks<\/strong><\/a><\/p>\n\n\n\n Using the YouTube Embed block you can include a YouTube video into your post\/page with play buttons, so your visitor can stay on your site to watch it. <\/p>\n\n\n\n You don’t need a YouTube account to embed a video.<\/p>\n\n\n\n Not all videos can be shared this way, though. The publisher needs to “Allow Embedding” in the settings of the video and some publishers restrict the countries, where videos can be shared. <\/p>\n\n\n\n Non-personal identifying viewing data will be shared with YouTube and the publisher of the video. Please consult the privacy policies and information<\/a> on YouTube if your site is visited by children.<\/em><\/p>\n\n\n\n Six Steps to embed a YouTube Video in your post or page<\/strong><\/p>\n\n\n\n Detailed instructions on adding blocks<\/a><\/p>\n\n\n\n A playlist URL can be embedded and the first video of the list shows in the embed box, with additional navigation for the playlist in the top right corner. <\/p>\n\n\n\n YouTube Live stream URLs are supported in the form of Not all YouTube links can be used for an embed. When an URL is used that is not suited for embedding, the Block editor offers you two options: to try a different URL or convert the current URL into a Text link. <\/p>\n\n\n\n Next to the YouTube icon is the “Drag & Drop Handle”. This can be used to drag your block to another section of your page. <\/p>\n\n\n\n Next to this is the “Mover”. Up and Down options are presented.<\/p>\n\n\n\n Change Alignment<\/strong><\/p>\n\n\n\n After the first separator line you have the “Change alignment” tool. <\/p>\n\n\n\n The alignment has variable options depending on your theme. <\/p>\n\n\n\n \u201cWide width\u201d and \u201cFull width\u201d alignment need to be enabled by the Theme of your site. <\/p>\n\n\n\n Edit URL<\/strong><\/p>\n\n\n\n Clicking on the Edit button will bring up the view for adjusting your URL for the Video Embed.<\/p>\n\n\n\n Via the edit URL, you can change the YouTube Embed URL in the embed block. Overwrite the existing URL and click on the “Embed” button on the right.<\/p>\n\n\n\n More Options<\/strong><\/p>\n\n\n\n These controls give you the option to copy, duplicate, and edit your block as HTML.<\/p>\n\n\n\n<\/figure>\n\n\n\n
Edit Video > More Options > Check “Allow embedding<\/figcaption><\/figure>\n\n\n\n\n
<\/figure>\n\n\n\n
\n
\n
<\/figure>\n\n\n\n
\n
\n
<\/figure>\n\n\n\n
Embed other YouTube links<\/h2>\n\n\n\n
Playlist<\/h3>\n\n\n\n
<\/figure>\n\n\n\n
Live Streams<\/h3>\n\n\n\n
youtube.com\/live\/videocode<\/code><\/p>\n\n\n\n
Unsupported URLs<\/h3>\n\n\n\n
<\/figure>\n\n\n\n
Block Toolbar<\/h2>\n\n\n\n
\n
<\/figure>\n\n\n\n