Cloudinary Video Player

Force HLS Subtitles

Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
    • descriptions off, selected
    • captions off, selected

      To force subtitles in an HLS stream even if the manifest does not declare them, add the following to the player configuration and then add your text tracks in the source:

            
                html5: {
                  vhs: {
                    overrideNative: true,
                    },
                }
            
            

      Make sure to add the following to your video element as the subtitles are coming from a different origin:

              
                crossorigin="anonymous"
              
            

      Full documentation