https://github.com/moxcomic/ariavideocontrollayer
SJVideoPlayer控制层扩展
https://github.com/moxcomic/ariavideocontrollayer
framework sjvideoplayer sjvideoplayer-controllayer swift
Last synced: 7 months ago
JSON representation
SJVideoPlayer控制层扩展
- Host: GitHub
- URL: https://github.com/moxcomic/ariavideocontrollayer
- Owner: moxcomic
- License: mit
- Created: 2019-11-27T17:48:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-13T03:28:25.000Z (over 6 years ago)
- Last Synced: 2025-08-26T11:19:14.094Z (7 months ago)
- Topics: framework, sjvideoplayer, sjvideoplayer-controllayer, swift
- Language: Swift
- Size: 19.6 MB
- Stars: 12
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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






