Support Home > Photos and Videos > Jetpack VideoPress Shortcodes

Jetpack VideoPress Shortcodes

Display your videos on any post or page on your site, using our quick shortcodes.

Find a shortcode via WP Admin

  1. Go to your WP Admin.
  2. Click Media. 
  3. Click on the video you need a shortcode for.
  4. Copy the shortcode in the video details.
Screenshot of video's settings from the WP Admin Media Library. The shortcode field is highlighted with an arrow.

Get a shortcode from WordPress.com

  1. Go to WordPress.com, select your site from My Sites.
  2. Click Media.
  3. Click on the video you need the Shortcode for 
  4. Click Edit.
  5. Copy the Shortcode in the video details.

Use VideoPress shortcodes in your posts and pages

To insert a video using a shortcode:

  1. Directly paste shortcodes into any of your posts or pages, or you can add via a Shortcode Block.
  2. Your video will not be displayed while editing, you will only see the Shortcode Block. Click Preview to see how your video looks and make necessary edits.
  3. Head back to your page or post you are building to make any necessary changes via Shortcode attributes which are listed below:

Get control over your VideoPress shortcodes with attributes

  1. Copy and paste your Shortcode as outlined in the above steps.
  2. Add attributes before the last bracket on your Shortcode, as shown in this example:
[videopress uhAZ9tzd attribute=value]
  1. You can add a range of different attributes for your video, in just one Shortcode.
  2. If you wanted to change the height to 200 and width to 600, enable autoplay and loop your video, it will look like this:
[videopress uhAZ9tzd h=200 w=600 autoplay=true loop=true]

Here is a list of available attributes:

  • w=X for width in pixels, do not include units
  • h=Y for height in pixels, do not include units
  • hd=true/false to force HD playback *
  • freedom=true/false to force only use open source video formats
  • autoplay=true/false to automatically play the video when it loads
  • loop=true/false to automatically play the video over and over
  • controls=false to hide the default video controls when displaying a video

* VideoPress uses Adaptive Streaming to adjust video quality based on display size and bandwidth. The hd=true/false attribute only works for legacy videos uploaded before Adaptive Streaming. It doesn’t affect the playback quality of new videos.

Embed videos on a different site

The VideoPress shortcode can only be used to display videos on the site the video was uploaded to. To embed a video on a different site:

  1. Make sure sharing is enabled for the video.
  2. View the video and click the share icon.
  3. Copy and paste the Embed (HTML) code.

These articles go over topics that are helpful when using Jetpack VideoPress via either plugin:

Still need help?

Please contact support. We’re happy to advise.

  • Table Of Contents

  • Contact Us

    Need more help? Feel free to contact us.