Title: Enabling captions
Last modified: February 10, 2023

---

# Enabling captions

 *  Resolved [almegasolutions](https://wordpress.org/support/users/almegasolutions/)
 * (@almegasolutions)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/enabling-captions/)
 * Hi Alec,
 * Is it possible to enable captions for videos hosted on YouTube? I have tried 
   enabling it by passing cc_load_policy with the URL but this doesn’t work.
   From
   what I can tell Plyr needs to have the option enabled but I’m struggling to figure
   out where this can be added.Thanks in advance,
 * Brad
    -  This topic was modified 3 years, 1 month ago by [almegasolutions](https://wordpress.org/support/users/almegasolutions/).
      Reason: Apparently marked as spam?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fenabling-captions%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Alec Rust](https://wordpress.org/support/users/alecrust/)
 * (@alecrust)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/enabling-captions/#post-16485768)
 * Hi [@almegasolutions](https://wordpress.org/support/users/almegasolutions/) apologies
   for delayed response.
 * It looks like this is a missing Plyr feature, rather than something I can add
   to this plugin. Here’s the issue in question: [https://github.com/sampotts/plyr/issues/1090](https://github.com/sampotts/plyr/issues/1090)
 *  Thread Starter [almegasolutions](https://wordpress.org/support/users/almegasolutions/)
 * (@almegasolutions)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/enabling-captions/#post-16687128)
 * Hi Alec,
 * I have investigated further and captions appear to work with Plyr on my embedded
   videos with Plyr direct:
 * [https://codepen.io/NSO/pen/QqNrqO](https://codepen.io/NSO/pen/QqNrqO)
 * If I add my own URL with the ?cc_load_policy=1 added on the above HTML panel,
   the captions show fine.
 * Thanks in advance,
 * Brad
    -  This reply was modified 2 years, 11 months ago by [almegasolutions](https://wordpress.org/support/users/almegasolutions/).
 *  Plugin Author [Alec Rust](https://wordpress.org/support/users/alecrust/)
 * (@alecrust)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/enabling-captions/#post-16697718)
 * Thanks Brad that’s interesting.
 * I had a play with your pen. It seems to be loading a very old version of Plyr,
   v2.0.13? Any solution here would need to work with the latest version this plugin
   bundles, v3.7.8. The JS in your pen does not seem to work when loading this latest
   version.
 * I could add an option to the player to set `captions: { defaultActive: true }`
   Plyr option, however this alone doesn’t seem to enable captions on YouTube videos.
 * If you can find a working non-hacky solution with the latest version of Plyr 
   and would be happy to [open a PR](https://github.com/AlecRust/protected-video),
   I’d be happy to help get it merged. If not, I suggest you go with the “direct
   Plyr” solution you have in the pen for now.
 * I should mention, Plyr issues like the one I linked in my previous reply are 
   unlikely to get fixed, as the Plyr player has been deprecated, with effort to
   be focused on the [Vidstack Player](https://github.com/vidstack/player). I’m 
   hesitant to build more complexity into this plugin on top of Plyr.
 * When the Vidstack Player provides what this plugin needs to operate I will either
   replace Plyr with it, or make it the default player and keep Plyr around as an
   option for a while.
 *  Plugin Author [Alec Rust](https://wordpress.org/support/users/alecrust/)
 * (@alecrust)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/enabling-captions/#post-16834445)
 * Resolving as no response.

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

The topic ‘Enabling captions’ is closed to new replies.

 * ![](https://ps.w.org/protected-video/assets/icon-256x256.png?rev=2930887)
 * [Protected Video](https://wordpress.org/plugins/protected-video/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/protected-video/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/protected-video/)
 * [Active Topics](https://wordpress.org/support/plugin/protected-video/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/protected-video/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/protected-video/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Alec Rust](https://wordpress.org/support/users/alecrust/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/enabling-captions/#post-16834445)
 * Status: resolved