farhan Posted September 6, 2018 Share Posted September 6, 2018 Anyone knows why when I load a video file, for whatever reason, I cannot mute the audio using the hardware mute on Ipad IOS 8 device? But if I remove the video, hardware mute works fine. Link to comment Share on other sites More sharing options...
farhan Posted September 7, 2018 Author Share Posted September 7, 2018 I tried to test on IOS 9 same issue happening. Perhaps this is old IOS issue. Link to comment Share on other sites More sharing options...
antifuzz Posted September 12, 2018 Share Posted September 12, 2018 @farhan Did you find any solution for this? We're having the same issue where the mute switch stops being respected as soon as we play a video. Link to comment Share on other sites More sharing options...
farhan Posted September 15, 2018 Author Share Posted September 15, 2018 Nope, IOS 8 and 9 are just too old. In addition, there is no way that I know of to get the hardware mute status on iPhone for html/canvas games unless you are making native apps/games. Perhaps Apple can answer this question BUT they have addressed this issue on newer devices/IOS. People who still uses IOS 8 and 9 have to live with it ? It is not the end of the world just because you cannot mute it using hardware mute. Right now, it is already at IOS 11 which works great, and in the next year or 2, IOS 8 and/or 9 will be gone by then. I can't wait ? Link to comment Share on other sites More sharing options...
farhan Posted September 15, 2018 Author Share Posted September 15, 2018 On 9/12/2018 at 5:58 AM, antifuzz said: @farhan Did you find any solution for this? We're having the same issue where the mute switch stops being respected as soon as we play a video. If you are talking about latest IOS, the only solution is to separate audio track from the video. Make sure the video has no audio track and then just play audio and video at the same time. And for checking on end video, use on audio end to continue because for some reason on IOS devices, it cannot detect when the video is over when the video has no audio track, at least the is an issue I encountered. Link to comment Share on other sites More sharing options...
antifuzz Posted October 8, 2018 Share Posted October 8, 2018 Thanks @farhan Actually we're getting the issue on iOS11 and 12. We're not testing on older versions. I'm not worried about the video itself not respecting the ringer switch as that's expected behaviour. The problem is that even after the video has finished playing, all other sounds that we play disrespect the ringer switch. It's like playing a video breaks something that doesn't get reset until you quit and relaunch the app. You say that iOS11 works great... but it's not working at all for us when a video plays. Is there anything special you're doing to get it to work? Link to comment Share on other sites More sharing options...
farhan Posted October 17, 2018 Author Share Posted October 17, 2018 On 10/8/2018 at 12:20 PM, antifuzz said: Thanks @farhan Actually we're getting the issue on iOS11 and 12. We're not testing on older versions. I'm not worried about the video itself not respecting the ringer switch as that's expected behaviour. The problem is that even after the video has finished playing, all other sounds that we play disrespect the ringer switch. It's like playing a video breaks something that doesn't get reset until you quit and relaunch the app. You say that iOS11 works great... but it's not working at all for us when a video plays. Is there anything special you're doing to get it to work? Not sure what the issue you are having but, the only thing I did was separating audio track from video and play them separately. The video file won't have audio track. And then, I check on audio ends to continue and do other stuff since when the video has no audio and it will never trigger on the on video end event. Link to comment Share on other sites More sharing options...
Recommended Posts