Title: closed caption is not working even with javascript
Last modified: August 22, 2016

---

# closed caption is not working even with javascript

 *  Resolved [ysf301282](https://wordpress.org/support/users/ysf301282/)
 * (@ysf301282)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/)
 * Is there any way to add subtitle with wordpress plugin?
    i tried this :
 * [jwplayer file=”URL.MP4″ image=”URL.PNG” plugins=”captions” captions.file=”URL.
   srt”]
 * Result : Player didnt show
 * then i tried with java script :
 * <div id=’playerPmZpRFgrFnMq’></div>
    <script type=’text/javascript’> jwplayer(‘
   playerPmZpRFgrFnMq’).setup({ file: ‘URL.mp4’, image: ‘URL.png’, tracks: [{ file:‘
   URL.vvt’, label: ‘English’, kind: ‘captions’, ‘default’: true },{ file: ‘URL.
   srt’, label: ‘Indonesia’, kind: ‘captions’ }] }); </script>
 * Result :
    The CC button is Show, the option also show (off,English,Indonesia)
   but CC text is not showing.
 * Note :
    all URL is valid crossdomain.xml is on my root
 * please help…
 * [https://wordpress.org/plugins/jw-player-plugin-for-wordpress/](https://wordpress.org/plugins/jw-player-plugin-for-wordpress/)

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

 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/#post-5737658)
 * Please provide a link.
 *  Thread Starter [ysf301282](https://wordpress.org/support/users/ysf301282/)
 * (@ysf301282)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/#post-5737660)
 * Problem SOLVED, issue with the crossdomain.xml
    when i upload the srt to my main
   domain its work, but when i put the subtitle in the subdomain it dont.
 * my crossdomain.xml in subdomain root folder :
 * <?xml version=”1.0″?>
    <cross-domain-policy> <allow-access-from domain=”*.domain.
   com”/> <allow-access-from domain=”www.domain.com”/> </cross-domain-policy>
 * what did i wrong?
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/#post-5737672)
 * Glad you got it.
 * For the crossdomain, you should change:
 * <allow-access-from domain=”*.domain.com”/>
    <allow-access-from domain=”www.domain.
   com”/>
 * To just:
 * <allow-access-from domain=”*.domain.com”/>
 *  Thread Starter [ysf301282](https://wordpress.org/support/users/ysf301282/)
 * (@ysf301282)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/#post-5737687)
 * Ok thank you :*
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/#post-5737692)
 * Np
 *  [ateproni](https://wordpress.org/support/users/ateproni/)
 * (@ateproni)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/#post-5737804)
 * how do I insert subtitles on the video
    with shortcode JWp6 in wordpress,,,, ?
   The video link= [http://198.7.59.79:8777/bscebrileo4pcnokalqcpmo46mtukizlkptqhk6zqbmv3zpqmcjgiy4doi/v.mp4](http://198.7.59.79:8777/bscebrileo4pcnokalqcpmo46mtukizlkptqhk6zqbmv3zpqmcjgiy4doi/v.mp4),
   and the subtitle of this link : [http://filmku.hol.es/wp-content/uploads/2015/06/Focus.srt](http://filmku.hol.es/wp-content/uploads/2015/06/Focus.srt),
   I try with this shortcode: [jwplayer file=”[http://198.7.59.79:8777/bscebrileo4pcnokalqcpmo46mtukizlkptqhk6zqbmv3zpqmcjgiy4doi/v.mp4&#8243](http://198.7.59.79:8777/bscebrileo4pcnokalqcpmo46mtukizlkptqhk6zqbmv3zpqmcjgiy4doi/v.mp4&#8243);
   subtitles=”[http://filmku.hol.es/wp-content/uploads/2015/06/Focus.srt”%5D](http://filmku.hol.es/wp-content/uploads/2015/06/Focus.srt”%5D),
   but the subtitle does not appear in the video . Please help me …. [https://wordpress.org/plugins/jw-player-plugin-for-wordpress/](https://wordpress.org/plugins/jw-player-plugin-for-wordpress/)
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/#post-5737805)
 * Subtitles are not supported yet in the WP plugin, I’m afraid.
 *  [ateproni](https://wordpress.org/support/users/ateproni/)
 * (@ateproni)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/#post-5737806)
 * What kind of support in the WP plugin ?
 * if this : [http://filmku.hol.es/wp-content/uploads/2015/06/Focus-2015.vtt](http://filmku.hol.es/wp-content/uploads/2015/06/Focus-2015.vtt)
 *  [ateproni](https://wordpress.org/support/users/ateproni/)
 * (@ateproni)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/#post-5737807)
 * What kind of support in the WP plugin ?
 * if this : [http://filmku.hol.es/wp-content/uploads/2015/06/Focus-2015.vtt](http://filmku.hol.es/wp-content/uploads/2015/06/Focus-2015.vtt)
 * Please help me, what can I do?
    [https://wordpress.org/plugins/jw-player-plugin-for-wordpress/](https://wordpress.org/plugins/jw-player-plugin-for-wordpress/)
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/#post-5737808)
 * There is no captions support via shortcode, I’m afraid.
 *  [ateproni](https://wordpress.org/support/users/ateproni/)
 * (@ateproni)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/#post-5737810)
 * Ok tanks you verymuch….
    [https://wordpress.org/plugins/jw-player-plugin-for-wordpress/](https://wordpress.org/plugins/jw-player-plugin-for-wordpress/)
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/#post-5737811)
 * Np

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

 The topic ‘closed caption is not working even with javascript’ 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

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

 * 12 replies
 * 3 participants
 * Last reply from: [JW Player](https://wordpress.org/support/users/longtail-video/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/closed-caption-is-not-working-even-with-javascript/#post-5737811)
 * Status: resolved