WordPress.org

Forums

Accessible Video Library
[resolved] Captions Never Load (11 posts)

  1. bcolflesh
    Member
    Posted 11 months ago #

    I am unable to get .srt or .dfxp captions to load. I've tried with Edgecast CDN asset links (which work fine in any video player) and local assets uploaded directly to WordPress - the CC button appears, but it displays "None" and "Captions (loading)" in the overlay, the captions never appear.

    Ideas?

    https://wordpress.org/plugins/accessible-video-library/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 11 months ago #

    Hmmm. That suggests a bad URL for the captions; the player sounds like it knows there are captions, but can't access them.

    Is the URL that shows up in the source code valid?

  3. bcolflesh
    Member
    Posted 11 months ago #

    URL is valid, I had uninstalled the AVL plugin in the interim - reinstalled to see if it munged the URL, but new pages created with it no longer work at all - it must not uninstall cleanly, have to search the DB for references - all in all, not ready for prime time, IMHO.

  4. Joe Dolson
    Member
    Plugin Author

    Posted 11 months ago #

    Do you mean the post permalinks are 404s, or that the shortcode aren't working? For 404s, you need to refresh your permalinks at Settings > permalinks

  5. bcolflesh
    Member
    Posted 11 months ago #

    There is no setting to refresh permalinks in WordPress 3.9.1 Settings > Permalinks.

    Any avl-video link comes up as a 404 after reinstall.

  6. bcolflesh
    Member
    Posted 11 months ago #

    Hmm, going to the "shortlink", instead of the full permalink seems to refresh it - weird.

  7. Joe Dolson
    Member
    Plugin Author

    Posted 11 months ago #

    That is weird. But, to clarify, to "refresh permalinks" just means to go to that settings page and re save your settings. This will regenerate WP's awareness of any new permalink formats added for a custom post type.

  8. bcolflesh
    Member
    Posted 11 months ago #

    Secondary question - if I want to change the control or caption positions/CSS, do I need to edit:

    mediaelementplayer.min.css
    wp-mediaelement.css

    Or is there a shortcode to override those options per video post?

  9. Joe Dolson
    Member
    Plugin Author

    Posted 11 months ago #

    There's no shortcode to override that, all of the positioning is coming from the WordPress default styles. You can override those CSS styles in your theme stylesheet, however, which is probably better than customizing the core stylesheets.

  10. Joe Dolson
    Member
    Plugin Author

    Posted 11 months ago #

    You can also dequeue the styles and replace them with your own customizations. Justin Tadlock wrote up some extensive information about customizing MediaElement in WordPress:

    https://github.com/justintadlock/theme-mediaelement

  11. bcolflesh
    Member
    Posted 11 months ago #

    Nice, that's helpful - thank you!

Reply

You must log in to post.

About this Plugin

  • Accessible Video Library
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic