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

Update Player.svelte: fix the bug. #1028

Conversation

MengZihan712
Copy link
Contributor

Before fixing the bug:

In full-screen mode, there is no progress bar or control panel.
Bugs appear in browsers: Chrome, Safari and Edge.
3491666005407_ pic

Causes of bugs and repair ideas:

By checking the component code, the height of the content under the rr-player__frame tag is incorrectly calculated in full-screen mode, causing bugs to occur when the progress bar and control bar are rendered off-screen under the rr-controller tag. Fix the bug by modifying the way tag height is calculated.
3501666005410_ pic

After the bug fix:

In full-screen mode, the progress bar and control bar can be displayed under the playback screen normally.
3511666005414_ pic

Close #801.

The progress bar and controls now can be displayed under the fullscreen mode.
Copy link
Member

@Yuyz0112 Yuyz0112 left a comment

Choose a reason for hiding this comment

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

nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show controls in fullscreen mode for rrweb-player
3 participants