Title: What is the shortcode?
Last modified: August 21, 2016

---

# What is the shortcode?

 *  [MasterBen](https://wordpress.org/support/users/masterben/)
 * (@masterben)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/)
 * When I used JW Player plugin in its 1.6.0 version this shortcode worked well 
   when inserted in the source code of a post:
 * [jwplayer config=”firstplayer” file=”[http://www.mydomain.com/wp-content/videos/example1.mp4&#8243](http://www.mydomain.com/wp-content/videos/example1.mp4&#8243);
   image=”[http://www.mydomain.com/wp-content/videos/example1.jpg&#8221](http://www.mydomain.com/wp-content/videos/example1.jpg&#8221);
   html5_file=”[http://www.mydomain.com/wp-content/videos/example1.mp4″%5D](http://www.mydomain.com/wp-content/videos/example1.mp4″%5D)
 * However, when I installed this plugin on a new blog (the latest version), the
   above shortcode doesn’t work. I just see the text of the code in the post and
   the player isn’t even called.
 * I also don’t see that the player was copied to
 * mydomain.com/wp-content/uploads/jw-player-plugin-for-wordpress
 * in the previous version of the jww player plugin this was essential for the plugin
   to work, if I remember well.
 * So, could you please tell me what is the shortcode for embedding a video from
   a certain folder on the domain (e.g. mydomain.com/wp-content/videos/), specifying
   a certain file (mp4) and poster image (.jpg). like in the first example?
 * [http://wordpress.org/extend/plugins/jw-player-plugin-for-wordpress/](http://wordpress.org/extend/plugins/jw-player-plugin-for-wordpress/)

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/what-is-the-shortcode/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/what-is-the-shortcode/page/2/?output_format=md)

 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814505)
 * I’m afraid that configuring the fallback in the plugin is rather complicated,
   as you will need to use the shortcode functionality, and cannot use the video
   manager.
 * An example shortcode would look like this:
 * [jwplayer image=”[http://content.bitsontherun.com/thumbs/Fqfj2vsZ-480.jpg&#8221](http://content.bitsontherun.com/thumbs/Fqfj2vsZ-480.jpg&#8221);
   sources=”{ file: ‘[http://content.bitsontherun.com/manifests/Fqfj2vsZ.m3u8&#8242](http://content.bitsontherun.com/manifests/Fqfj2vsZ.m3u8&#8242);},{
   file:’[http://content.bitsontherun.com/videos/Fqfj2vsZ-480.mp4&#8217](http://content.bitsontherun.com/videos/Fqfj2vsZ-480.mp4&#8217);}”]
 * The opening curly braces { of the sources always need to be followed by a space
   in order for the shortcode to work.
 *  Thread Starter [MasterBen](https://wordpress.org/support/users/masterben/)
 * (@masterben)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814506)
 * Hi,
 * Thanks for answering. I still don’t understand the whole syntax of the shortcode.
 * For example, what does this parameter define?
 * file: ‘[http://content.bitsontherun.com/manifests/Fqfj2vsZ.m3u8&#8217](http://content.bitsontherun.com/manifests/Fqfj2vsZ.m3u8&#8217);
 * and how can I choose which player to embed (I usually make several custom players
   for each widthxheight combination that I use)?
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814508)
 * For example, your shortode:
 * [jwplayer config=”firstplayer” file=”[http://www.mydomain.com/wp-content/videos/example1.mp4&#8243](http://www.mydomain.com/wp-content/videos/example1.mp4&#8243);
   image=”[http://www.mydomain.com/wp-content/videos/example1.jpg&#8221](http://www.mydomain.com/wp-content/videos/example1.jpg&#8221);
   html5_file=”[http://www.mydomain.com/wp-content/videos/example1.mp4″%5D](http://www.mydomain.com/wp-content/videos/example1.mp4″%5D)
 * Would look like this, for the new plugin:
 * [jwplayer player=”firstplayer” image=”[http://www.mydomain.com/wp-content/videos/example1.jpg&#8221](http://www.mydomain.com/wp-content/videos/example1.jpg&#8221);
   sources=”{ file: ‘[http://www.mydomain.com/wp-content/videos/example1.mp4&#8242](http://www.mydomain.com/wp-content/videos/example1.mp4&#8242);},{
   file:’[http://www.mydomain.com/wp-content/videos/example1.mp4&#8217](http://www.mydomain.com/wp-content/videos/example1.mp4&#8217);}”]
 * Hope that helps.
 *  Thread Starter [MasterBen](https://wordpress.org/support/users/masterben/)
 * (@masterben)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814509)
 * Thanks, that latest shortcode really works!
 * I suggest you put it somewhere in the user manual/readme files.
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814522)
 * Np!
 *  [tariq.inaam](https://wordpress.org/support/users/tariqinaamgmailcom/)
 * (@tariqinaamgmailcom)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814685)
 * hi admin,
    how do you add playlist with multiple supportive format for live streaming?
   thanks
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814686)
 * Right now the multi format support is possible only via a single item. Like the
   shortcode above.
 *  [bernardberry646](https://wordpress.org/support/users/bernardberry646/)
 * (@bernardberry646)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814711)
 * @longTail Video.. using the following, where / how do we give the SD/HD label
   name like 320p, etc:
 * [jwplayer player=”firstplayer” image=”[http://www.mydomain.com/wp-content/videos/example1.jpg&#8221](http://www.mydomain.com/wp-content/videos/example1.jpg&#8221);
   sources=”{ file: ‘[http://www.mydomain.com/wp-content/videos/example1.mp4&#8242](http://www.mydomain.com/wp-content/videos/example1.mp4&#8242);},{
   file:’[http://www.mydomain.com/wp-content/videos/example1.mp4&#8217](http://www.mydomain.com/wp-content/videos/example1.mp4&#8217);}”]
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814712)
 * That should work, but you need to add the titles into the sources block for each
   item.
 *  [bernardberry646](https://wordpress.org/support/users/bernardberry646/)
 * (@bernardberry646)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814713)
 * Ironically you didn’t even answer the question, I have since then tried enough
   combinations that i got it working already (without titles albeit).
 * So for the next person who may come along needing the same code:
 * [jwplayer player=”firstplayer” image=”[http://www.mydomain.com/wp-content/videos/example1.jpg&#8221](http://www.mydomain.com/wp-content/videos/example1.jpg&#8221);
   sources=”{ file: ‘[http://www.mydomain.com/wp-content/videos/example1.mp4&#8217](http://www.mydomain.com/wp-content/videos/example1.mp4&#8217);,**
   label: ‘SD’** },{ file:’[http://www.mydomain.com/wp-content/videos/example1.mp4&#8242](http://www.mydomain.com/wp-content/videos/example1.mp4&#8242);,**
   label: ‘HD’** }”]
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814714)
 * It should be title, not label.
 *  [bernardberry646](https://wordpress.org/support/users/bernardberry646/)
 * (@bernardberry646)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814715)
 * I already have it working with the code above. I’m not trying to put a title 
   alongside the play button, I was trying to give a label to what the different
   video file qualities are.. when you click on HD (the text that shows for each
   video quality.
 * What I have above is working as of right now.
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814716)
 * That should work, can I see where this is running?
 *  [robbiegod](https://wordpress.org/support/users/robbiegod/)
 * (@robbiegod)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814721)
 * @LongTail Video – I was looking in the wordpress plugins section and found this
   plugin to use for displaying video. I didnt see anywhere in the documentation
   about what the shortcode might be.
 * Is there a page with full documentation on the shortcode?
 * Otherwise, looks to be a great plugin, it just needs clearer directions.
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/#post-3814722)
 * We have an entire section of our support site dedicated to this plugin:
 * [http://www.longtailvideo.com/support/jw-player/31561/getting-started-with-the-wordpress-plugin](http://www.longtailvideo.com/support/jw-player/31561/getting-started-with-the-wordpress-plugin)

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/what-is-the-shortcode/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/what-is-the-shortcode/page/2/?output_format=md)

 The topic ‘What is the shortcode?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jw-player-plugin-for-wordpress_ffffff.
   svg)
 * [JW Player for Flash & HTML5 Video](https://wordpress.org/plugins/jw-player-plugin-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jw-player-plugin-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jw-player-plugin-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/jw-player-plugin-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jw-player-plugin-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jw-player-plugin-for-wordpress/reviews/)

 * 20 replies
 * 6 participants
 * Last reply from: [JW Player](https://wordpress.org/support/users/longtail-video/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/what-is-the-shortcode/page/2/#post-3814731)
 * Status: not resolved