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

Toggle the fullscreen from embed video programmatically and removing onBackPressed function of WebView. #47

Open
ArcherEmiya05 opened this issue Oct 3, 2019 · 1 comment

Comments

@ArcherEmiya05
Copy link

ArcherEmiya05 commented Oct 3, 2019

I was able to get the result I want but at some point I want to programmatically toggle the fullscreen button. I tried to set toggledFullscreen(boolean) but no effect at all.

I also tried to change the onBackPressed and just call its super but still it changes the view mode between full and minimize view before exiting the app. I do not need it for my case I want to close the app after backpress no more minimizing the player can I do that? Thanks by the way because of this sample I am nearly to what I need to do for this task.

@maxakash
Copy link

maxakash commented Aug 6, 2022

Hey @ArcherEmiya05 were you able to toggle full screen mode programatically?

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

2 participants