No results found. Try again with different words?

Search must be at least 3 characters.

Presto Player Shortcode

Presto Player provides a shortcode you can use to add a player to many different parts of your site. This shortcode lets you specify a Media Hub video, but also lets you define a video source directly, either through a url or a custom field.

Media Hub Item

To use the presto_player shortcode with a media item, you can find the shortcode you can copy and paste, right on the Presto Player > Media Hub page:

Custom URL

There are times you want to quickly reference a url directly in the presto_player shortcode. To use the presto_player shortcode with a custom url, use the src parameter:

[presto_player src=""]

Custom Field

Another powerful feature of the Presto Player shortcode is the ability to reference a custom field as a video url. With the custom_field parameter:

[presto_player custom_field="my_custom_field_id"]

Adding Chapters

To add chapters, you can use the presto_player_chapter shortcode inside the presto_player shortcode. The presto_player_chapter shortcode requires a time and chapter.

[presto_player src=""]

[presto_player_chapter time="10" title="Ten Seconds"]
[presto_player_chapter time="00:10" title="Also Ten Seconds"]
[presto_player_chapter time="61:20" title="One hour, 1 minute and 20 seconds"]


Adding Captions

To add captions, you can use the presto_player_caption shortcode inside the presto_player shortcode. The presto_player_caption shortcode requires a label, src and src_lang.

[presto_player src=""]

[presto_player_track label="English" src="" src_lang="en"]
[presto_player_track label="Spanish" src="" src_lang="es"]


Additional Options

Along with specifying a video source, you can specify a host of additional options:

presetAn id of a preset from the presets database.preset=46
autoplayEnable autoplaying the videoautoplay=1
plays_inlineEnable the playsinline attributeplays_inline=1
classClass name to add to the playerclass="my-class"
posterUrl to a poster imageposter=""
preloadVideo preload setting. Either “auto”, “metadata” or “none”preload="metadata"
muted_autoplay_previewWhether to turn on “muted autoplay preview”muted_autoplay_preview=1
muted_autoplay_caption_previewWhether to show captions during “muted autoplay preview”muted_autoplay_caption_preview=1

How to find a Preset ID

To find a preset id, open the preset in the “Edit Preset” modal:

Then you’ll see a “Preset ID” in the bottom right corner of the popup:

Was this article helpful?
Did not find a solution? We are here to help you succeed.

Related Docs

Try Presto Player Risk-Free for 30 Days!

You are protected by our no questions asked refund policy.

Don't Miss Our Biggest Discount


100% Unconditional Money-back Guarantee

Purchase today & lock in your deal!


Biggest Ever Black Friday Sale!