When creating a story that is going to be published on WordPress, you can embed videos, images, tweets, audio and other content that is hosted on the Internet by including the URL in your story. This way, you can embed videos from YouTube or Vimeo, images from Flickr or Photobucket and much more.
To embed the content, do the following:
- Wrap the URL between [embed] [/embed] tags:
Optionally, you can set a maximum (but not fixed) width and height by using the following syntax (higlighted):
[embed width="value in pixels" height="value in pixels"]URL[/embed]
See the following video: [embed]https://www.youtube.com/watch?v=9R2kM9ds_uk [/embed].
Here, a maximum width of 800 pixels and a maximum height of 640 pixels is defined:
See the following video: [embed width="800" height="640"]https://www.youtube.com/9R2kM9ds_uk?version=3&hl=en_US&rel=0[/embed].
Note: WordPress only allows embedding content from a restricted number of sources. For more information, see the WordPress Help article Embeds.
WordPress provides another method of embedding content, namely that of adding the URL on its own line. Due to a HTML conversion that takes place in Enterprise, this method is not supported.
Example: The following method is not supported:
See the following video:
For more information about embedding Internet content in a WordPress story, see the WordPress Help article Embeds.