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:
[embed]URL[/embed]
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]
Example 1: See the following video: [embed]https://www.youtube.com/watch?v=9R2kM9ds_uk [/embed]. Example 2: 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.
Unsupported method
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: https://www.youtube.com/watch?v=9R2kM9ds_uk |
Additional information
For more information about embedding Internet content in a WordPress story, see the WordPress Help article Embeds.
Related Tasks
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.