none
Styling Subtitle Track With CSS with Azure Media Player RRS feed

  • Question

  • Hi I am developing a site using Azure media services I got all working besides the Styling of the Subtitle Track I am adding a VTT file as a source this works but would like to change the color font and position of the Subtitles,

    I can more or less change the position adding the following to my CSS style

      .vjs-text-track-display {
               
               
               
                width: 800px;
                display: inline;
               
            }

    But no luck on changing the Font colour and size any help would be much appreciated 

    I can change the colour and font when I inspect the element F12 and edit the html while site is live and it changes but I need to code it so it applies the settings when the site loads the example supply for media player is not clear I don't see any were to change it via CSS or JavaScript with player options

    Regards

    Adriaan

    Wednesday, October 9, 2019 6:47 AM

All replies