Projets
Voir sur GitHub
sahin/VideoSplashKit
À propos
VideoSplashKit : une bibliothèque UIViewController pour créer facilement des pages d’introduction avec des vidéos en arrière-plan.
Création et médiasProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalVideoSplashKit - Video based UIViewController

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 Karisman Lead UI/UX @ MojiLaLa ![]() |
![]() |
Sahin Boydas Co-Founder @ MojiLaLa |
|---|
Explorer des projets similaires
Chargement…



