-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
MPVolume Hud doesn't disappear with AVPlayerViewController #24
Comments
Hey @gianpispi |
Hey @andreamazz Sorry fro the bad explanation. I add the SubtleVolume to my view controller. It hides the Volume HUD perfectly until I start the AVPlayer into the AVPlayerViewController added as child to my first view controller. When I play the video, and try to change the volume, the hud becomes visible as SubtleVolume does. So I have two volume indicators. I tried to add a MPVolumeView to the AVPlayerViewController, but it doesn't change anything. |
Can you post a screenshot? |
I have a UIViewController with an AVPlayerViewController in it. I disable MPVolume Hud in the ViewController, and it doesn't appear until I play the AVPlayer in the AVPlayerViewController. I know that with
avplayercontroller.showsPlaybackControls = false
the hud disappears, but the problem is that every control disappears, and I need controls, and I prefer to use system controls instead of custom ones.
SubtleVolume works, but when I play the Player controller both the hud and SubtleVolume are visible.
I tried to create a MPVolume and add it to the app window, to the player controller view, but the hud is still visible.
I've tried almost everything, but I can't figure out what is the problem.
The text was updated successfully, but these errors were encountered: