Popularity
7.7
Stable
Activity
0.0
Stable
1,229
51
144

Code Quality Rank: L5
Monthly Downloads: 0
Programming language: Swift
License: MIT License
Latest version: v1.2.1

VideoSplashKit alternatives and similar libraries

Based on the "Walkthrough / Intro / Tutorial" category

Do you think we are missing an alternative of VideoSplashKit or a related project?

Add another 'Walkthrough / Intro / Tutorial' Library

README

Build Status Gitter Gitter CocoaPods

VideoSplashKit - Video based UIViewController

alt tag

Introduction

Requires iOS 8 or later and Xcode 6.1+ Swift support uses dynamic frameworks and is therefore only supported on iOS > 8.

Installation

To install via CocoaPods add this line to your Podfile.

use_frameworks!

and

pod 'VideoSplashKit'

or if you are using Swift4

pod 'VideoSplashKit', :git => 'https://github.com/svtek/VideoSplashKit/VideoSplashKit.git', :branch => 'swift4'

Then, run the following command:

$ pod install

Usage

import VideoSplashKit

class ViewController: VideoSplashViewController {

  override func viewDidLoad() {
    super.viewDidLoad()
    let url = NSURL.fileURLWithPath(NSBundle.mainBundle().pathForResource("test", ofType: "mp4")!)
    self.videoFrame = view.frame
    self.fillMode = .ResizeAspectFill
    self.alwaysRepeat = true
    self.sound = true
    self.startTime = 12.0
    self.duration = 4.0
    self.alpha = 0.7
    self.backgroundColor = UIColor.blackColor()
    self.contentURL = url
    self.restartForeground = true
  }
}

Authors

Omer KarismanLead UI/UX @ MojiLaLa Twitter Dribble Github Sahin BoydasCo-Founder @ MojiLaLa LinkedIn


*Note that all licence references and agreements mentioned in the VideoSplashKit README section above are relevant to that project's source code only.