SkillAgentSearch skills...

VideoSplashKit

VideoSplashKit - UIViewController library for creating easy intro pages with background videos

Install / Use

/learn @sahin/VideoSplashKit
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Build Status Gitter Gitter CocoaPods

VideoSplashKit - Video based UIViewController

alt tag

Introduction

Requires iOS 8 or later and Xcode 6.1+<br/> 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

| <img src="https://avatars1.githubusercontent.com/u/1448702?v=4" width="100px;"/> | Omer Karisman<br/><br/><sub>Lead UI/UX @ MojiLaLa</sub><br/> Twitter Dribble Github| <img src="https://pbs.twimg.com/profile_images/508440350495485952/U1VH52UZ_200x200.jpeg" width="100px;"/> | Sahin Boydas<br/><br/><sub>Co-Founder @ MojiLaLa</sub><br/> LinkedIn| | - | :- | - | :- |

Related Skills

View on GitHub
GitHub Stars1.2k
CategoryContent
Updated20h ago
Forks132

Languages

Swift

Security Score

95/100

Audited on Mar 31, 2026

No findings