프로젝트
GitHub에서 보기
svhawks/VideoThumbnailViewKit
소개
Video Thumb ScrollView
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalVideoThumbnailViewKit - Video Thumbnail View

##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 "VideoThumbViewKit"
Then, run the following command:
$ pod install
##Usage
let videoURL = NSURL.fileURLWithPath(NSBundle.mainBundle().pathForResource("Video", ofType: "mp4")!)!
let rect = CGRect(x: 0.0, y: 70.0, width: self.view.frame.size.width, height: 100.0)
var trimView = VideoThumbView(frame: rect, videoURL: videoURL, thumbImageWidth: 100)
trimView.backgroundColor = UIColor.blackColor()
view.addSubview(trimView)
관련 프로젝트 살펴보기
불러오는 중…