Closed captioning disabled when start

Topics: HTML5 web
Mar 29, 2012 at 7:09 PM

The closed captioning is enabled by default. How can I disable it when the player starts, and enable it only when the user clicks on cc?

Apr 13, 2012 at 1:33 AM

Hi yinlong, you can do this by removing the “default” attributes from the caption tracks. This will turn them all captions off by default. If you want to hide the CC button, you can add the following CSS to hide the CC button: 

.pf-track-selector .pf-track-selector-control
              display: none;