Latest 1.3.1
Homepage https://github.com/changsanjiang/SJMP3Player
License MIT
Platforms ios 8.0
Dependencies SJDownloadDataTask, SJUIKit/ObserverHelper
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

You should set Targets -> Capabilities -> Background Mode Modes
Mode Select : Audio, AirPlay, and Picture in Picture

SJMP3Player

And Imp Delegate Methods

@required

/// 用于显示在锁屏界面 Control Center 的信息
- (SJMP3Info *)playInfo;
/// 点击了锁屏界面 Control Center 下一首按钮
- (void)remoteEvent_NextWithAudioPlayer:(SJMP3Player *)player;
/// 点击了锁屏界面 Control Center 上一首按钮
- (void)remoteEvent_PreWithAudioPlayer:(SJMP3Player *)player;

Installation

SJMP3Player is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'SJMP3Player'

Author

changsanjiang, [email protected]

License

SJMP3Player is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SJMP3Player",
    "version": "1.3.1",
    "summary": "mp3 player.",
    "description": "mp3 player, play while downloading. support set rate, and local cache.",
    "homepage": "https://github.com/changsanjiang/SJMP3Player",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "SanJiang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/changsanjiang/SJMP3Player.git",
        "tag": "v1.3.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SJMP3Player/*.{h,m}",
    "dependencies": {
        "SJDownloadDataTask": [],
        "SJUIKit/ObserverHelper": []
    },
    "subspecs": [
        {
            "name": "Core",
            "source_files": "SJMP3Player/Core/*.{h,m}"
        }
    ]
}

Pin It on Pinterest

Share This