Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Light weight view controller which add a video as a full screen background for IOS written in Objective-C

License

NotificationsYou must be signed in to change notification settings

Ekhoo/EKVideoController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EKVideoController

EKVideoController

Light weight view controller which add a video as a full screen background for IOS written in Objective-C.

Demonstration

EKVideoController

Features

  • You can set a video as a full screen background of your view controller.
  • You can set a repeat mode.
  • You can add a mask to the video.
  • You can handle the speed of the video.
  • You can play, stop, pause and restart the video.

Usage

  • Inherit yourViewController byEKVideoController.
  • InViewDidLoad orLoadView method, setvideoPath. It can be a local path, or an url.
  • Then, callplay.
  • Enjoy :)

Example

- (void)viewDidLoad {    [superviewDidLoad];        self.videoPath     = [[NSBundlemainBundle]pathForResource:@"Video"ofType:@"mp4"];    self.repeat        =YES;    self.maskTintColor = [UIColorblackColor];    self.maskAlpha     =0.5f;        [selfplay];}

Contact

Lisence

EKVideoController is available under the MIT license. See the LICENSE file for more info.

About

Light weight view controller which add a video as a full screen background for IOS written in Objective-C

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2026 Movatter.jp