Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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: .srt captions obscured by video controls bar #1058

Closed
1 task done
MarkLyck opened this issue Jan 13, 2025 · 0 comments
Closed
1 task done

Bug: .srt captions obscured by video controls bar #1058

MarkLyck opened this issue Jan 13, 2025 · 0 comments
Labels
bug Something isn't working Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@MarkLyck
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Which Mux Elements/Packages does this apply to? Select all that apply

mux-video

Which browsers are you using?

Chrome, Safari, Firefox

Which operating systems are you using?

macOS

Description

If you upload a video to mux with a .srt subtitle file, and use element from the @mux/mux-video package.

Then the captions do not move up to the visible area when the media controls bar becomes visible (e.g. when hovering over the video).

This leaves the captions obscured and not visible to the user. It is my understanding from reading this blog post, that this has been fixed for .vtt files, but a fix should be implemented for .srt files as well.

Image

Reduced test case

No response

Steps to reproduce

  1. Upload a video to mux
  2. Add a .srt subtitle file
  3. Play the video with element.
  4. hover over the video to make media controls appear.
  5. turn on captions (see that captions appear underneath the video controls bar)

Current Behavior

the captions are always positioned at the bottom of the video, even when the video controls bar appear over the captions

Expected Behavior

The captions should move up to the visible area when the video controls are visible.

Errors

No response

What version of the package are you using?

0.24.2

@MarkLyck MarkLyck added bug Something isn't working Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug labels Jan 13, 2025
@muxinc muxinc locked and limited conversation to collaborators Jan 13, 2025
@luwes luwes converted this issue into discussion #1059 Jan 13, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

1 participant