How to embed content in a post
Last updated on September 7th, 2023 at 04:52 pm
One of the options when choosing a format is the Embed option.
What is embedding?
In WordPress, embedding refers to the integration of links, images, videos, gifs and other content into posts. Embedded content appears as part of a post and supplies a visual element that encourages increased click-through and engagement.
How Does It Work?
The easy embedding feature is mostly powered by oEmbed, a protocol for site A (this site) to ask site B (such as YouTube) for the HTML needed to embed content from site B.
To embed a video or another object into a post or page, place its URL (e.g. YouTube video URL) into the content area. Make sure the URL is on its own line and not hyperlinked.
SUCCESS. WordPress will automatically turn the URL into an embed object and provide a live preview of it.
FAILURE. If WordPress fails to embed the URL, not all URLs can be embedded, the post will contain a hyperlink to the URL.
What Sites Can I Embed From?
Not all sites can be embedded. WordPress will only embed URLs matching an internal whitelist. This is for security purposes. Check the allowed sites.
Facebook and Instagram embeds have been deprecated October 24th
All oEmbed requests for Facebook and Instagram content will be deprecated on October 24th, 2020. Read more.