You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1- add setFullScreenButtonClickListener in PlayerView inside AndroidView, it will show a fullscreen button that toggles into exit full screen button on click. and i do -
Do you start off in Portrait mode and rotate your phone, causing the video to change to Landscape automatically?
Do you press the fullscreen button before or after rotation?
The fullscreen button might be losing its state (i.e. it is "forgetting" that it already moved from smallScreen->fullScreen) and defaulting back to its original value. It is hard to analyse this further without seeing more of your code.
Hey @sid1605. We need more information to resolve this issue but there hasn't been an update in 14 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Version
Media3 1.3.1
More version details
media3_version: 1.3.1
Devices that reproduce the issue
all android devices
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
1- add setFullScreenButtonClickListener in
PlayerView
insideAndroidView
, it will show a fullscreen button that toggles into exit full screen button on click. and i do -this works when i click on button then its orientation changes.
Problem: how to change button (from full screen to exit full screen and vice versa) when screen auto rotate .
![Screenshot_2024-04-24-10-52-50-63_6acdc9aa7b878f572c44a02942cb6f60 1](https://private-user-images.githubusercontent.com/137288149/325093155-51365c4b-96fc-4483-a86d-c524ed7730a0.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwODgxMzAsIm5iZiI6MTczOTA4NzgzMCwicGF0aCI6Ii8xMzcyODgxNDkvMzI1MDkzMTU1LTUxMzY1YzRiLTk2ZmMtNDQ4My1hODZkLWM1MjRlZDc3MzBhMC5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQwNzU3MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ZDI2NmNlYWRhMzZlMDk1M2JjYzgyMGI3YzM3MDI5ZDNlOWVmNjBkMjM2ZmEwOGNhMTJkZjQyMGM4YTJjMGQwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.BnrXavGJWsAL634kIZW2KjqWJrivovS6DZeQeZkLiQI)
![Screenshot_2024-04-24-11-08-04-50_6acdc9aa7b878f572c44a02942cb6f60 1](https://private-user-images.githubusercontent.com/137288149/325093221-872c84cb-11bc-48b6-b640-e47033161997.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwODgxMzAsIm5iZiI6MTczOTA4NzgzMCwicGF0aCI6Ii8xMzcyODgxNDkvMzI1MDkzMjIxLTg3MmM4NGNiLTExYmMtNDhiNi1iNjQwLWU0NzAzMzE2MTk5Ny5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQwNzU3MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zNmEwYWE1NmI3OGFhOTIwNDk5YTkxMGM4NjRkY2YzZjVkMzA0OTVhNDE2YzIzNjA4MTYxNDFiZDJmOWNkZWRhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.nm6hHMSY_B1elVEGE481tA1ra_08xmVNvmZfrAWmuO4)
Expected result
Actual result
Media
the video is drmn protected hence background is black
Bug Report
adb bugreport
to android-media-github@google.com after filing this issue.The text was updated successfully, but these errors were encountered: