The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

JW Player for Flash & HTML5 Video
[resolved] Trying to get captions working... (6 posts)

  1. Pin
    Posted 3 years ago #


    By far the best video plugin for WP but I still can't get the captions working.

    Created a new player and ticked the plugin "captions". Created the crossdomain.xml on the root of my WP install and added the embed code on my post:

    [jwplayer config="default" file="http://mydomain.com/path/video.mp4" image="http://mydomain.com/path/picture.png" plugins="captions" captions.file="http://mydomain.com/path/subtitle.vtt"]

    <?xml version="1.0"?><br />
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"><br />
    <cross-domain-policy><br />
       <allow-access-from domain="mydomain.com"/><br />
       <allow-access-from domain="www.mydomain.com"/><br />

    What am I missing? :/


  2. JW Player
    Plugin Author

    Posted 3 years ago #

    That should work, do you have an example link?

  3. Pin
    Posted 3 years ago #

    Yes. I do the tests on a staging site and I created a test user for you because the website is locked down.

    user: test
    pw: 123456789

    This is the .vtt file: http://bogdanpredi.staging.wpengine.com/ep1.vtt
    This is the crossdomain.xml file: http://bogdanpredi.staging.wpengine.com/crossdomain.xml

    There is a post called "JW Player Test" and test user is the author if you want to take a look at the embed code.

  4. Jeroen Wijering
    Posted 3 years ago #

    Note we don't support VTT files in the JW5 player - this is likely the issue.

    We're working on an update of the plugin that supports JW6. That will also have the ability to load VTT captions.

  5. Pin
    Posted 3 years ago #

    Ahh... I see. Indeed, with .srt works like a charm.
    Thanks, Jeroen.

  6. JW Player
    Plugin Author

    Posted 3 years ago #

    Ah, that makes sense. SRT / XML timedtext only for JW5.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic