I have an ionic app that plays videos hosted on the internet. When testing the app on a web browser and in the iOS emulator the video plays with sound.
If I download the app onto my iPhone using X-Code the video plays but there is no sound!
Does anyone have an idea as to why the sound works on the emulator but not on the actual device? I have checked that youtube videos play ok with sound.
Ok, so I am clearly an idiot! The mute slider on my iPhone was turned on. Not sure though why this didn't mute youtube videos but did mute my app videos.
For those wondering why sound isn't working in the ionic view app for an iOS device, but it works in an iOS emulator like I was:
The ionic view app comes with a fixed set of cordova plugins. If your app needs a plugin which the ionic view app doesn't support thenyour app won't work in the ionic view app. The sound plugin I was using in my emulator wasn't supported in the ionic view app.
Edit: list of supported ionic view apps can be found here: http://docs.ionic.io/docs/view-usage
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With