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

Fix media controller UI not showing during audio playback #3286

Merged
merged 3 commits into from
Feb 23, 2023

Conversation

efrohnhoefer
Copy link
Contributor

@efrohnhoefer efrohnhoefer commented Feb 9, 2023

Partially related to 3170e1c

Moved code to show UI to OnPreparedListener because internally VideoView calls MediaController#setEnabled() in onPrepared(). Calling MediaController#show() before MediaController#setEnabled() will have no effect.

Testing

Screenshot_20230208_220954

Fixes #3261

Testing
 - Open audio attachment: https://solarpunk.moe/@vv/109562659215759090
 - Ensure media control UI and alt text is shown once playback starts

Fixes tuskyapp#3261
@connyduck connyduck merged commit 9e0ff78 into tuskyapp:develop Feb 23, 2023
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

Successfully merging this pull request may close these issues.

v21 regression: Black screen when playing audio
3 participants