CVAA Support within the Kaltura Player Toolkit

The Twenty-First Century Communications and Video Accessibility Act of 2010 (CVAA) focuses on ensuring that communications and media services, content, equipment, emerging technologies, and new modes of transmission are accessible to users with disabilities.  All Kaltura players that use the Kaltura Player Toolkit are now CVAA compliant by default and are based on on Twenty-First Century Communications and Video Accessibility Act of 2010 (CVAA).  The player includes capabilities for editing the style and display of captions and can be modified by the end user. The closed captions styling editor includes easy to use markup and testing controls.  The Kaltura Player v2 delivers a great keyboard input experience for users and a seamless browser-managed experience for better integration with web accessibility tools. This is in addition to including the capability of turning closed captions on or off. 

Features

The Kaltura Player v2 CVAA features include: 

  • Studio support - Enable options menu
  • Captions types: XML, SRT/DFXP, VTT(outband)
  • Displaying and changing fonts in 64 color combinations using eight standard caption colors currently required for television sets.
  • Adjusting character opacity
  • Ability to adjust caption background in eight specified colors.
  • Ability to adjust character edge (i.e., non, raised, depressed, uniform or drop shadow).
  • Ability to adjust caption window color and opacity.
  • Support for displaying multiple language tracks and simplified or reduced captions.
  • Ability to preview setting changes, have display setting remembered between viewings and turn captions on or off as easily as muting or adjusting the volume.
  • Capability of displaying various caption formats (i.e., pop-on, roll-up and paint-on)

For more information on how to configure and use the captions styling editor see the articles: Universal Studio Guide and Editing Captions - REACH v2.

Caption Styles API

You can update caption styles via API call, using the following object format:

 kWidget.addReadyCallback( function( playerId ){
    var kdp = document.getElementById( playerId );
     kaltura_player.sendNotification("newCaptionsStyles",
       {
           "fontFamily": "Courier New, Courier, Nimbus Mono L, Cutive Mono, monospace",
           "fontColor": "rgb(123, 33, 111, 0.8)",
           "fontSize": "3em",
           "backgroundColor": "rgba(1, 1, 1, 0.5)",
           "windowColor": "rgba(255, 255, 0, 0.8)",
           "charEdgeStyle": "rgb(34, 34, 34) 2px 2px 3px, rgb(34, 34, 34) 2px 2px 4px, rgb(34, 34, 34) 2px 2px 5px"
       }
     );
 });

 You can set up the default styles settings, using "cvaaDefaultSettings" flashvar:

  'flashvars': {
            'cvaa':{
                'cvaaDefaultSettings': {
                     'fontFamily': "Arial, Roboto, Arial Unicode Ms, Helvetica, Verdana, PT Sans Caption, sans-serif",
                     'fontColor': "#ffffff",
                     'fontOpacity': 100,
                     'fontSize': 12,
                     'backgroundColor': "#000000",
                     'backgroundOpacity': 75,
                     'windowColor': "#ffffff",
                     'windowOpacity': 0,
                     'edgeStyle': "none"
                 }
             }
         }

NOTE:The caption menu style settings are saved using cookies per page. You can disable cookies, however, when you refresh the settings will not be saved and the default will be used.
To disable cookie for the plugin set the following flashvar to false:

        'flashvars': {
            'cvaa':{
                'useCookie': false
             }
         }
Was this article helpful?
Thank you for your feedback!
In This Article
Related Articles
Back to top

Never miss a thing!

Subscribe to our customer newsletter and our release notes updates, so you always get the best out of Kaltura.
Newsletter