CocoaPods trunk is moving to be read-only. Read more on the blog, there are 11 months to go.

AriaVideoControlLayer 0.0.5

AriaVideoControlLayer 0.0.5

Maintained by moxcomic.



 
Depends on:
Then>= 0
SnapKit>= 0
RxSwift>= 0
RxDataSources>= 0
NSObject+Rx>= 0
RxCocoa>= 0
SJVideoPlayer>= 0
SJUIKit>= 0
AriaSwiftyChain>= 0
 

  • By
  • moxcomic

AriaVideoControlLayer

SJVideoPlayer控制层扩展

Requirements

  • iOS 11.0
  • Swift 5.0

Installation

pod 'AriaSwiftyChain', :git => 'https://github.com/moxcomic/AriaSwiftyChain.git'
pod 'AriaVideoControlLayer', :git => 'https://github.com/moxcomic/AriaVideoControlLayer.git'

Usage

Swift

import AriaVideoControlLayer

player.switcher.addControlLayer(forIdentifier: LONG_MAX - 1) { (id) -> SJControlLayer in
    return AriaVideoControlLayer()
}

OC

#import <AriaVideoControlLayer-Swift.h>

[_player.switcher addControlLayerForIdentifier:LONG_MAX - 1 lazyLoading:^id<SJControlLayer> _Nonnull(SJControlLayerIdentifier identifier) {
    return [AriaVideoControlLayer new];
}];

ScreenShot

image image image image image image image