Latest 1.0.1
Homepage https://github.com/36Kr-Mobile/KRVideoPlayer
License MIT
Platforms ios 6.0, requires ARC
Frameworks UIKit, MediaPlayer
Authors

CI Status
Version
License
Platform

Screenshot

screenshot

Usage

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

Create player and set frame:

self.videoController = [[KRVideoPlayerController alloc] initWithFrame:CGRectMake(0, 0, width, width*(9.0/16.0))];

Set video path:

self.videoController.contentURL = url;

Show it:

[self.videoController showInWindow];

Requirements

iOS >= 6.0

Installation

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

pod "KRVideoPlayer"

Author

Programming by aidenluo

Design by cheyi

License

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

广告

36氪招iOS工程师,简历请发送至luoqi###36kr.com(###替换为@)

Latest podspec

{
    "name": "KRVideoPlayer",
    "version": "1.0.1",
    "summary": "A simple video player like weico",
    "description": "                       A video player like weico.nn                       ![screenshot](kr_player.gif)nnn",
    "homepage": "https://github.com/36Kr-Mobile/KRVideoPlayer",
    "license": "MIT",
    "authors": {
        "aidenluo": "[email protected]"
    },
    "source": {
        "git": "https://github.com/36Kr-Mobile/KRVideoPlayer.git",
        "tag": "1.0.1"
    },
    "social_media_url": "http://weibo.com/1840543654/profile",
    "platforms": {
        "ios": "6.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "KRVideoPlayer": [
            "Pod/Assets/*.png"
        ]
    },
    "public_header_files": "Pod/Classes/**/*.h",
    "frameworks": [
        "UIKit",
        "MediaPlayer"
    ]
}

Pin It on Pinterest

Share This