Skip to content

Repository files navigation

SPAsyncVideoView

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Demo

Demo

Requirements

  • iOS 8.0 or higher

Installation

SPAsyncVideoView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SPAsyncVideoView"

Usage Example

NSURL *url = [[NSBundle mainBundle] URLForResource:@"example" withExtension:@"mp4"];
SPAsyncVideoAsset *asset = [[SPAsyncVideoAsset alloc] initWithURL:url];
SPAsyncVideoView *view = [SPAsyncVideoView new];
view.asset = asset;

Current limitations

  • No audio.
  • No controls.
  • Working only with local videos.

Author

Pimenov Sergey, pimenov.sergei@gmail.com

License

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

About

Smooth asynchronous video view. Perfect for autoplay & loop videos/GIFs in UITableView/UICollectionView.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages