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

fix(mux-player): use CSS to disable subtitle shifting for iOS in fullscreen. #958

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

cjpillsbury
Copy link
Contributor

Blocked by muxinc/media-chrome#946
Fixes #863

Smoke tested 👍 on both iOS Safari and iOS Chrome, plus desktop browsers for regression testing.

@cjpillsbury cjpillsbury requested a review from a team as a code owner July 25, 2024 20:42
Copy link

vercel bot commented Jul 25, 2024

@cjpillsbury is attempting to deploy a commit to the Mux Team on Vercel.

A member of the Team first needs to authorize it.

@@ -66,15 +66,27 @@
* 0.433s is the transition duration for VTT Regions.
* Borrowed here, so the captions don't move too fast.
*/
media-controller ::slotted([slot='media']) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

NOTE: Although this change isn't technically required, custom CSS properties (aka "CSS variables") inherit, so removing the narrower selection since it's both unnecessary and adds specificity that is harder to override.

Copy link
Contributor

@luwes luwes left a comment

Choose a reason for hiding this comment

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

nice! 👍

Copy link

vercel bot commented Jul 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
elements-demo-create-react-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2024 6:16pm
elements-demo-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2024 6:16pm
elements-demo-svelte-kit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2024 6:16pm
elements-demo-vanilla ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2024 6:16pm
elements-demo-vue ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2024 6:16pm

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.

Bug: Captions disappear in React Player on mobile when full screened
2 participants