Title: Caption Plugin Error
Last modified: August 22, 2016

---

# Caption Plugin Error

 *  Resolved [bcolflesh](https://wordpress.org/support/users/bcolflesh/)
 * (@bcolflesh)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/caption-plugin-error/)
 * With vanilla install and JWPlayer Premium key installed, this is not working:
 * [jwplayer file=”[http://cdn_path/my.mp4&#8243](http://cdn_path/my.mp4&#8243);
   plugins=”captions” captions.file=”[http://cdn_path/my.vtt”%5D](http://cdn_path/my.vtt”%5D)
 * Switching between Flash/HTML for the player or changing the other plugin settings
   has no effect.
 * Error handling “COMPLETE” event listener [0]: TypeError: Cannot read property‘
   getFlashPath’ of undefined function n(){if(!y){var c=j.playlist;if(e.isArray(
   c)){if(0===c.length){m();return}if(1===c.length&&(!c[0].sources||0===c[0].sources.
   length||!c[0].sources[0].file)){m();return}}if(!x)if(e.isString(c))w=
    new f.
   playlist.loader,w.addEventListener(d.JWPLAYER_PLAYLIST_LOADED,function(a){j.playlist
   =a.playlist;x=!1;n()}),w.addEventListener(d.JWPLAYER_ERROR,function(a){x=!1;m(
   a)}),x=!0,w.load(j.playlist);else if(u.getStatus()===k.loaderstatus.COMPLETE){
   for(c=0;c<j.modes.length;c++){var g=j.modes[c],r=g.type;if(r&&b[r]){var l=k.extend({},
   j),g=new b[r](D,g,l,u,h);if(g.supportsConfig())return g.addEventListener(d.ERROR,
   a),g.embed(),k.css(“object.jwswf, .jwplayer:focus”,{outline:”none”}),k.css(“.
   jw-tab-focus:focus”, {outline:”solid 2px #0B7EF4″}),h}}j.fallback?(c=”No suitable
   players found and fallback enabled”,p(c,!0),k.log(c),new b.download(D,j,m)):(
   c=”No suitable players found and fallback disabled”,p(c,!1),k.log(c),D.parentNode.
   replaceChild(C,D))}}} Object {version: “6.11.4923”, type: “COMPLETE”}
 * [https://wordpress.org/plugins/jw-player-plugin-for-wordpress/](https://wordpress.org/plugins/jw-player-plugin-for-wordpress/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [bcolflesh](https://wordpress.org/support/users/bcolflesh/)
 * (@bcolflesh)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/caption-plugin-error/#post-5892530)
 * Using the JavaScript embed method from your docs works, so I guess that’s the
   workaround for now, although you should really update this plugin with all the
   options for the 6+ player in a GUI.
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/caption-plugin-error/#post-5892567)
 * Glad you got it working.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Caption Plugin Error’ 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/)

## Tags

 * [caption](https://wordpress.org/support/topic-tag/caption/)
 * [captions](https://wordpress.org/support/topic-tag/captions/)

 * 2 replies
 * 2 participants
 * Last reply from: [JW Player](https://wordpress.org/support/users/longtail-video/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/caption-plugin-error/#post-5892567)
 * Status: resolved