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
I've implemented this similarly to the example project, however, when I switch tabs on the tab bar I would like the video to pause/ mute. I have attempted the following, with no luck. Any ideas?
I've added the pause function in override func viewDidDisappear(_ animated: Bool) and also in override func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem)
The text was updated successfully, but these errors were encountered:
I've implemented this similarly to the example project, however, when I switch tabs on the tab bar I would like the video to pause/ mute. I have attempted the following, with no luck. Any ideas?
func pauseVideos(){ mmPlayerLayer.player?.pause() mmPlayerLayer.player?.isMuted = true }
I've added the pause function in
override func viewDidDisappear(_ animated: Bool)
and also inoverride func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem)
The text was updated successfully, but these errors were encountered: