Cloudinary Video Player

Force HLS Subtitles


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