An open API service indexing awesome lists of open source software.

https://github.com/moxcomic/ariavideocontrollayer

SJVideoPlayer控制层扩展
https://github.com/moxcomic/ariavideocontrollayer

framework sjvideoplayer sjvideoplayer-controllayer swift

Last synced: 7 months ago
JSON representation

SJVideoPlayer控制层扩展

Awesome Lists containing this project

README

          

# 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

[_player.switcher addControlLayerForIdentifier:LONG_MAX - 1 lazyLoading:^id _Nonnull(SJControlLayerIdentifier identifier) {
return [AriaVideoControlLayer new];
}];
```
# ScreenShot
![image](https://raw.githubusercontent.com/moxcomic/AriaVideoControlLayer/master/ScreenShot/S1.PNG)
![image](https://raw.githubusercontent.com/moxcomic/AriaVideoControlLayer/master/ScreenShot/S2.PNG)
![image](https://raw.githubusercontent.com/moxcomic/AriaVideoControlLayer/master/ScreenShot/S3.PNG)
![image](https://raw.githubusercontent.com/moxcomic/AriaVideoControlLayer/master/ScreenShot/S4.PNG)
![image](https://raw.githubusercontent.com/moxcomic/AriaVideoControlLayer/master/ScreenShot/S5.PNG)
![image](https://raw.githubusercontent.com/moxcomic/AriaVideoControlLayer/master/ScreenShot/S6.PNG)
![image](https://raw.githubusercontent.com/moxcomic/AriaVideoControlLayer/master/ScreenShot/S7.PNG)