Code Monkey home page Code Monkey logo

cordova-background-audio's Introduction

No longer maintained

Try another plugin for example (no guarantees):

https://github.com/EddyVerbruggen/cordova-plugin-backgroundaudio/

Looking for contributors

Hey there, I'm looking for active contributors to help move the development of this forward in a stable and timely fashion. This module was created for a specific project and I haven't had a need for this module in quite some time, so my personal time is not actively allocated to it. If you are interested in actively contributing, please contact me, Thanks!

Background Audio for iOS

Support an iOS application playing audio in the background.

When included within a cordova build then the application will support background audio for iOS out of the box. No further action is necessary.

This negates having to use location/other solutions that may not be accepted by Apple.

Installation

Cordova

cordova plugin add nl.kingsquare.cordova.background-audio
# OR
cordova plugin add https://github.com/AubreyHewes/cordova-background-audio.git # latest

Ionic

ionic plugin add nl.kingsquare.cordova.background-audio
# OR
ionic plugin add https://github.com/AubreyHewes/cordova-background-audio.git # latest

PhoneGap

phonegap local plugin add nl.kingsquare.cordova.background-audio
# or 
phonegap local plugin add https://github.com/AubreyHewes/cordova-background-audio.git # latest

PhoneGap Build (build.phonegap.com)

DEPRECATED.. no longer seems to work? Possibly requires updating the plugin to latest pgb spec? see #9

Add the following to your config.xml

<gap:plugin name="nl.kingsquare.background-audio" />

cordova-background-audio's People

Contributors

aubreyhewes avatar johncblandii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cordova-background-audio's Issues

Not working?

I'm using the following configuration on Phonegap Build, but still whenever I click the home button, the stream I'm playing fades out. Any idea why?

<plugin name="cordova-plugin-media" source="npm" />
<plugin spec="https://github.com/AubreyHewes/cordova-background-audio.git" />

its work in appstore

Hello thank u for ur plugin

just I want to know if its allowed to use this plugin in appstore and what I should do and what should not do to accept this plugin in appstore ,

Last question

This plugin keep application running in background such as track location , send some data for server while application in background? Or just playing audio in back ground ?

Audio cannot pause using control center when play in background

Great plugin, really a must have plugin when developing audio player using ionic.
I found that the audio can be played in background, however it cannot be controlled using control center when playing in background, when click the pause button in control center the music still playing.

Disable player controls on lock screen

I'm using this plugin to keep html5 video playing (with sound) even when the mute switch (the hardware button) is on and it works perfectly.
When the video is playing and I press the lock button, the video stops playing (which is what I wanted), but if I press the the lock button again I get the player controls of the video that was playing in the app. See this screenshot:
screen

Is this a default behavior? Can this be disabled?

If i would play a playlist in background?

If i play only onw audio i background the plugin work fine, but if i try to play 2 audio in sequence, the second don't start, why?
I have to add anything else?

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.