Support Home > Writing > Embed media content using shortcodes with Jetpack

Embed media content using shortcodes with Jetpack

You can use shortcodes to embed videos from YouTube, tweets from Twitter, and other media across the web directly into your WordPress-powered site.

How to get started with shortcode embeds

To begin embedding media you can follow the steps:

  1. Visit Jetpack → Settings → Writing in your site’s WP-Admin dashboard.
  2. Scroll down to the Composing section and toggle on the option Compose using shortcodes to embed media from popular sites.
  3. Paste URLs directly into your visual editor to embed various elements. These are called Inline Embeds.

Types of media you can embed

Jetpack supports a wide range of media types through shortcodes, so you can add diverse content to your site:

Video

Audio

Images and Documents

Miscellaneous

Shortcodes for adding a blog archive index, contact form, polls, WordAds, and more.

Feature-Dependent Shortcode

This shortcode only works when the corresponding feature is enabled.

Inline Embeds

PDF: Embed a PDF in a post or page using the File block. » Full instructions to embed a PDF

Embedding Facebook and Instagram Posts

Facebook and Instagram no longer support their oEmbed API. However, we’ve partnered with Meta to ensure this content continues to display. Make sure your site is connected to Jetpack and paste the link of the Facebook or Instagram content in the post or page editor. Please note that for Instagram, the post embedded on the site will show a link to Instagram where the post can be viewed.

Privacy Information

Shortcode Embeds are deactivated by default. You can activate them at any moment from your WP Admin. To do so:

  1. Go to Jetpack → Settings.
  2. Click the Writing tab.
  3. Scroll down to the Composing section and toggle on the Compose using shortcodes to embed media from popular sites option.
Data Used
Site Owners / Users

 

We use any information required for the actual configuration of any shortcodes; see the links in the above section accompanying each shortcode for those specific details. Note that, if you add a shortcode to one of your posts, anybody with access to edit that post will have access to those shortcode details. The following WordPress options are also used (these are synced): embed_autourls (Spotify, YouTube), page_on_front (Sitemap), embed_size_w (TED, YouTube).Additionally, for activity tracking (detailed below): IP address, WordPress.com user ID, WordPress.com username, WordPress.com-connected site ID and URL, Jetpack version, user agent, visiting URL, referring URL, timestamp of event, browser language, country code.

Site Visitors

 

See the Jetpack Stats privacy documentation for some shortcodes that record impressions (VideoPress and Slideshow).Note that, due to the nature of shortcodes (i.e. third-party content embeds), it is possible that third-party services may make use of certain pieces of data.

Activity Tracked
Site Owners / Users

 

We track when, and by which user, the feature is activated and deactivated.

Site Visitors

 

VideoPress: video plays; Slideshow: image views.Note that, due to the nature of shortcodes (i.e. third-party content embeds), it is possible that third-party services may track activity in some instances.

Data Synced (Read More)
Site Owners / Users

 

We sync an option that identifies whether or not the feature is activated. We also sync which specific shortcodes are currently used/active on your site.

Site Visitors

 

None.

  • Table Of Contents

  • Contact Us

    Need more help? Feel free to contact us.