Latest 1.0.1
Homepage https://github.com/koust/koustMoviePlayer
License MIT License
Platforms ios 10.0, requires ARC
Authors

iOS 10.0+
Swift 4.0+
CocoaPods

KoustMoviePlayer

KoustMoviePlayer is a custom player for iOS. It’s similar to Netflix’s Player and it is almost available with its all features.

Preview [Movie]

KoustMoviePlayer

Requirements

  • iOS 10.0+
  • Xcode 10.0
  • Swift 4+

Features

  • Skip Button (used for skip the any specific time that want to jump)
  • Rewind Button (used for rewind. If you want you can also set time.)
  • Subtitle
  • Thumbnail Animation

CocoaPods

You can use CocoaPods to install koustMoviePlayer by adding it to your Podfile:

    platform :ios, '10.0'
    use_frameworks!
    pod 'koustMoviePlayer'

Manually

  1. Download and drop class path in your project.
  2. Congratulations!

Usage

Basic Usage

    var koustMPC:KoustPlayerView!

    override func viewWillAppear(_ animated: Bool) {

       koustMPC = KoustPlayerView(videoURL:URL(string:"https://samplevideos.com/video123/mp4/720/big_buck_bunny_720p_10mb.mp4")!)

    }

    @IBAction func playAction(_ sender: Any) {

        koustMPC.subtitleResourceName = "sample"
        koustMPC.skipButtonDuration = 5
        koustMPC.skipButtonActive   = true
        koustMPC.backButtonTitle    = "Cartoon Movie | For Kids +4"
        koustMPC.autoPlay           = .play
        koustMPC.presentAVPlayer()
    }

Subtitle (You can use the subtitle feature separately.)

  1. Download and drop SubtitleModel.swift,KoustSubtitleController.swift and KoustPlayerProtocol.swift in your project.
  2. 
    
        let subTitle        = KoustSubTitleController(delegate: self)
        subTitle.setSubtitle(forResource: "exampleSrtFile")```
    
    3. You should be add ```KoustSubtitleDelegate``` class.
    4. Congratulations!  

Latest podspec

{
    "name": "koustMoviePlayer",
    "version": "1.0.1",
    "summary": "koustMoviePlayer is similar netflix player. Almost , available all features on koustMoviePlayer",
    "license": {
        "type": "MIT License",
        "file": "LICENSE"
    },
    "homepage": "https://github.com/koust/koustMoviePlayer",
    "screenshots": "https://github.com/koust/koustMoviePlayer/raw/master/koustMoviePlayerImage.png",
    "authors": {
        "koust": "https://github.com/koust"
    },
    "platforms": {
        "ios": "10.0"
    },
    "swift_version": "4.2",
    "source": {
        "git": "https://github.com/koust/koustMoviePlayer.git",
        "tag": "1.0.1"
    },
    "source_files": "koustMoviePlayer/class/**/*",
    "resource_bundles": {
        "Assets": [
            "koustMoviePlayer/class/Assets/*.{png}"
        ]
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This