Comments (21)
Hi! Yes it works on iOS
On Monday, 28 September 2015, Laolu Adeyo [email protected] wrote:
Hi!
I was wondering if this plugin has been tested on iOS yet?
—
Reply to this email directly or view it on GitHub
#19.
from ionic-audio.
Hi,
I implemented this last night in a streaming app I was working on, It worked fine on my android but on my iOS device it freezes once I hit the play button. I'm not sure why.
from ionic-audio.
What iOS version are you on? iOS will freeze the UI while the track is loading by default, but then the track should start playing. At least that is the behavior I have seen and what others have reported. Do you see any errors in the console?
from ionic-audio.
Hi, I am using iOS version 7.1.2. When I ran the ionic serve command and opened the console I saw "ionic-audio: missing Cordova Media Plugin. Have you installed the plugin?
Run 'ionic plugin add org.apache.cordova.media'"
But I have already installed the cordova media plugin
from ionic-audio.
This will not work with ionic serve
. You need to test on your device.
There's an error in the documentation. To make sure you have the latest Media plugin remove it and add it again with:
ionic plugin add cordova-plugin-media
from ionic-audio.
Hi,
I removed the media plugin and reinstalled it, I ran it on my iOS device, but it still freezes again. It still plays fine on the android
from ionic-audio.
Is it an iPhone 4? I've never tested on iOS 7.1.2. Only on iOS 8.4.1 and 9.
You should be able to do remote debugging if you have your iPhone plugged to your dev machine and open Safari as explained here:
http://phonegap-tips.com/articles/debugging-ios-phonegap-apps-with-safaris-web-inspector.html
You can then open your device's console window while your app is running and see if there are any errors.
from ionic-audio.
You checked if sound starts play after a minute? If you use this on iOS the app will freeze until all the audio files is downloade.
from ionic-audio.
I forgot to post but I was able to get it working about a month ago. I think it was because I was trying to access an m4a file not an mp3. Thanks for the help.
from ionic-audio.
You're welcome.
from ionic-audio.
who I can make play Audio When Screen Is Locked in IOS?
from ionic-audio.
You need to enable background audio in xCode
On Sun, Dec 13, 2015 at 6:44 AM, nuruddinbadawi [email protected]
wrote:
who I can make play Audio When Screen Is Locked in IOS?
—
Reply to this email directly or view it on GitHub
#19 (comment)
.
from ionic-audio.
in IOS when start playing its take long time to starting play and spinner is frozen
how to fix this and thanks?
from ionic-audio.
There is no fix for that. That's how the Cordova Media works.
from ionic-audio.
hi ..
I have a problem with IOS when to play any Audio " internet link " the app is freeze 10 sec or 15 after that is start play
why ?
from ionic-audio.
I have problem in ios when play audio app is freezing
please any solution if anyone know how fix this ?
from ionic-audio.
I think that's just how it works for iOS. Since the cordova media plugin does not support streaming, it is going to freeze until the audio file is completely downloaded. I would suggest using maybe Web Audio API instead
example: https://www.airpair.com/ionic-framework/posts/using-web-audio-api-for-precision-audio-in-ionic
from ionic-audio.
Is there a way to solve the freezing problem temporarily?
For example, show loading or something else.
from ionic-audio.
who I can allow stop audio in background mode and I enable background mode in xCode and work good
but the problem is I can't pause audio outside application .
from ionic-audio.
You can use MediaManager.stop()
as explained here: http://arielfaur.github.io/ionic-audio/#MediaManager
from ionic-audio.
I think cordova media plugin 2.2 newest version has fixed the issue. And thank you so much @arielfaur for such an awesome project.
from ionic-audio.
Related Issues (20)
- Adjust speed of playing track HOT 2
- Structure of this._audioProvider.tracks duration seeking
- problem in play
- I have an error when it comes to template parsing errors.
- Customize UI of the provided html tags
- How can I post all of the tracks playing at the same time?
- Want to stop any audio properly
- Not able to Play M3u Files . HOT 1
- on iOS lock screen, I can't play the audio
- Ionic 4 version? HOT 10
- Are there any way to have two audioProvider?
- I can't change the progress if the file is saved under assets/
- it doesn't work with local audio files, HOT 1
- preload metadata is not preloading tracks with local files - It works only on streaming HOT 1
- online audio file not working on device
- onFinish called while playing
- Cannot properly handle ExpressionChangedAfterItHasBeenCheckedError
- AudioProvider replace function
- Change volume
- ERROR in Error during template compile of 'IonicAudioModule'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ionic-audio.