The Embed block allows you to embed content from supported web services using their URL.
Here’s what it looks like when it’s added to the Block Editor.
To add an embed block to a page you click on the + icon at the left of any empty block or at the top left of the editor then search for embed, or locate it in the Embeds section, and click on the Embed icon. You can use the Embed block or click on the icon for the content you want to embed.
More detailed instructions for adding blocks can be found here.
Once the embed block is added, paste the link to the content you want to embed then click on Embed.
For example, you use the video URL to embed a video from Animoto, Dailymotion, Facebook, Vimeo or YouTube.
Once you’ve entered the URL you want to embed you can add an optional text caption below the embedded content.
This embed option can be used for supported websites only.
Services that you can embed using a URL include:
|Post, activity, photo, video, media, question, note|
|Flickr||Videos and images|
|PollDaddy||Polls & Surveys|
|Posts & Comments|
The embed block toolbar includes options to change alignment and the embed URL.
- Align left: used to align embed content left.
- Align Center: used to center embed content.
- Align Right: used to align right embed content.
- Edit URL: to replace the embed URL with a new URL.
Unlike most other blocks the embed block only provides the option to add Additional CSS Class in the editor sidebar of the block editor. Click on the Settings icon next to the Publish/Update button if you don’t see the editor sidebar.
The advanced tab lets you add a CSS class to your block allowing you to write custom CSS and style the block.