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

my custom barrage control and problems about fullscreen button #2828

Open
jlj001031 opened this issue Nov 28, 2024 · 0 comments
Open

my custom barrage control and problems about fullscreen button #2828

jlj001031 opened this issue Nov 28, 2024 · 0 comments

Comments

@jlj001031
Copy link

Hello
I have inserted a custom barrage input box in the control bar and placed a barrage display layer above the video screen. Under normal circumstances, everything works fine, but when switching to fullscreen, the barrage layer gets hidden. After some research, I found that calling requestFullscreen on the parent div can make both the video screen and barrage layer fullscreen simultaneously. However, I am unable to prevent the default behavior of the fullscreen button. Could you please let me know how to stop the default fullscreen button click event and support a custom click method? Alternatively, could you consider adding the functionality for barrage input and display in future releases?
Thank you! Thank you! Thank you!

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

1 participant