Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] When multiple captions exist, only first caption is showing up in the iOS native player #405

Closed
elynema opened this issue Feb 9, 2024 · 6 comments
Assignees

Comments

@elynema
Copy link

elynema commented Feb 9, 2024

Description

When there are multiple caption files for a video, only the first caption option is showing up under subtitles in the native player. This is happening in iPhone and Chrome on iPad (Chrome uses the native player on iPad).

Example record with multiple caption files: https://avalon-dev.dlib.indiana.edu/media_objects/fj236208t

Private Zenhub Video

@elynema
Copy link
Author

elynema commented Feb 12, 2024

This also means that if the user selects a caption other than the first one that shows up in the native player, captions disappear once the native player is opened. This results in a weird state where one set of captions shows in the Ramp media player and another in the native player.

@elynema
Copy link
Author

elynema commented Feb 12, 2024

Prioritized to next release since very few items have multiple captions.

@Dananji
Copy link
Collaborator

Dananji commented Feb 14, 2024

Media object: Horses and Men (https://avalon-dev.dlib.indiana.edu/media_objects/000000000)

It has the following lines in its HLS manifest for captions;

#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",LANGUAGE="eng",NAME="clio-reel.vtt",DEFAULT=YES,AUTOSELECT=YES,URI="/master_files/9019s246n/caption_manifest/193"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",LANGUAGE="eng",NAME="IANYN.vtt",DEFAULT=NO,AUTOSELECT=YES,URI="/master_files/9019s246n/caption_manifest/194"
Captions menu in Ramp Captions menu in iOS native player
screenshot-iPhone 15-17 3(2) screenshot-iPhone 15-17 3(3)

Media object: "No Time"/"Until We're Free" (https://avalon-dev.dlib.indiana.edu/media_objects/g158bh28p)
HLS manifest captions;

#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",LANGUAGE="eng",NAME="LABEL-sample-30.vtt",DEFAULT=YES,AUTOSELECT=YES,URI="/master_files/2f75r800t/caption_manifest/106"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",LANGUAGE="eng",NAME="sample copy.vtt",DEFAULT=NO,AUTOSELECT=YES,URI="/master_files/2f75r800t/caption_manifest/135"
Captions menu in Ramp Captions menu in iOS native player
screenshot-iPhone 15-17 3(4) screenshot-iPhone 15-17 3(5)

It seems the native player picks up only the caption with DEFAULT=YES in the HLS manifest?

@joncameron
Copy link
Contributor

Could be the Default issue, or something else; we'll know more after the completion of the current investigation ticket.

@elynema
Copy link
Author

elynema commented Jun 26, 2024

This needs to be re-tested; may be related to having captions in HLS manifest.

@joncameron joncameron self-assigned this Jul 2, 2024
@elynema
Copy link
Author

elynema commented Jul 10, 2024

All captions that are shown in the web player are now showing in the native player.

@joncameron There is a bit of oddness in that no matter what caption you select in the web player, the native player just has the 'Auto' option selected. The correct subtitles display, but ti doesn't actually tell the user which set of subtitles are displaying. Is this enough of an issue that we should create another ticket?

@elynema elynema closed this as completed Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants