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

Enable/disable captions icon as needed when switching between canvases #505

Merged
merged 2 commits into from
May 28, 2024

Conversation

Dananji
Copy link
Collaborator

@Dananji Dananji commented May 23, 2024

Related issue: #399

Fixes the bug reported in #399 (comment)

The CC button is not showing in playlists. The captions themselves are displaying, but no CC button in the player to turn them on/off. It's working fine on media items.

This bug is persistent in media object manifests, when the first Canvas in the Manifest doesn't have captions but a latter has captions or when the start Canvas is a Canvas without captions.

@Dananji
Copy link
Collaborator Author

Dananji commented May 23, 2024

node-14 tests are failing since replaceAll() used in transcript search automated tests is supported from Node 15 onward.

Rebase this after #506 is merged.

Copy link
Member

@cjcolvar cjcolvar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I had one question but I think it doesn't need to block merging.

src/services/iiif-parser.js Outdated Show resolved Hide resolved
@Dananji Dananji merged commit e0bee12 into main May 28, 2024
2 checks passed
@Dananji Dananji deleted the captions-icon branch May 28, 2024 14:26
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

Successfully merging this pull request may close these issues.

2 participants