Embed Files

The embed shortcode works for all HTML5 compatible video formats (e.g. .mov and .mp4, but not .wmv) and is supported by IE9+, Firefox, Opera, Chrome and Safari.

Note: Our video embed solution is intended for archive video libraries. For other video requirements we recommend Vimeo Pro (see 'Advanced Details' below).


Embed video and audio files using the embed shortcode as follows:

wpmedia_embed file

Example of an embedded .mp4 video:

wpmedia_embed file="ACME Corp/Video/big_buck_bunny.mp4"


The file should be the full url to the file you want to embed on the page. Additional parameters are supported depending the file format you're embedding, see options below.



  • provide graceful fallbacks e.g. mp4, m4v, webm, ogv, wmv, flv
  • set placeholder image
  • enable looping
  • set autoplay
  • define height and width
  • uses the default wp_video_shortcode WordPress function



  • provide graceful fallbacks e.g. mp3, m4a, ogg, wav, wma
  • enable looping
  • set autoplay

Note: in the links above the src parameter is replaced by file.

Advanced Details

Our embed solution is built on the popular Media Elements library, widely regarded as one of the best HTML5 video players. For further information on HTML5 video browser support click here. It provides very low cost video storage and playback directly from Amazon or Microsoft storage.

We do not currently support advanced functions such as playlists, watermarks, slow-motion and custom branding. Additional players are available that support these features including:

If you do not wish to get into the details of video encoding, bandwidth requirements, content delivery networks and web browser video support, for most applications we currently recommend Vimeo Pro.

Starting at £16/month Vimeo Pro offers:

  • unlimited bandwidth
  • domain restrictions
  • unlisted videos
  • advanced statistics
  • video player customisation