[Azure Media Player] Having 2 subtitles button on video control in iOS

Binh Phan Duc 0 Reputation points
2023-08-21T08:10:16.97+00:00

Hello team,

I've encountered an issue while using the Azure Media Player (latest version: 2.3.11) on iOS after adding subtitle tracks. Two subtitle buttons are being displayed, as shown in the attached screenshot. I only want to show just one button.

IMG_6310

You can find a demo of the issue on this page.

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
313 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 24,396 Reputation points Microsoft Employee
    2023-08-23T07:53:15.6133333+00:00

    @Binh Phan Duc ,

    Following up from the comments’. You may check the following demo page AzureMedia Player (azureedge.net) (updated to add 2 extra subtitles) and notice there is no Captions button.

    By looking at the sample AzureMedia Player you can see that we have 2 buttons because we have 2 kinds subtitle and caption.

    Just confirming, are you asking is it ok to have 2 buttons (1 for subtitle and 1 for Captions)?

    In this demo page AzureMedia Player (azureedge.net) you can control the other button "Caption" by setting the track Kind. If you have both Kinds then you will have 2 buttons, otherwise, if you have 1 Kind then only 1 button will be displayed.

    Just to highlight: Captions vs subtitles

    In general, captions are text tracks that are used for closed captioning that enables viewers who need accessibility features in a video player to understand what is being said and the sounds that exist in a video. Subtitles, are text tracks that show the speech and sounds in a different language than the source language. For example, if the source language of a video is English, then the text track would be considered a caption. If an additional language text track is provided, it's considered a subtitle. You can use one text track for both a caption and subtitles, but implementation varies between video player clients.

     --------
    If the answer helped (pointed, you in the right direction) > please click Accept Answer Or please share the requested/more info to help you better.