Latest1.0.8.3
Homepagehttps://github.com/changsanjiang/SJMP3Player
LicenseMIT
Platformsios 8.0
DependenciesSJDownloadDataTask
FrameworksUIKit, MediaPlayer
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.0.8.3",
    "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.0.8.3"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SJMP3Player/Classes/*.{h,m}",
    "frameworks": [
        "UIKit",
        "MediaPlayer"
    ],
    "dependencies": {
        "SJDownloadDataTask": []
    }
}

Pin It on Pinterest

Share This