Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SimformSolutionsPvtLtd/SSSwiftUIVideoLayerView
SSSwiftUIVideoPlayerLayer is a custom controller which helps to load video in SwiftUI.
https://github.com/SimformSolutionsPvtLtd/SSSwiftUIVideoLayerView
ios swiftui swiftui-components video video-player
Last synced: 3 months ago
JSON representation
SSSwiftUIVideoPlayerLayer is a custom controller which helps to load video in SwiftUI.
- Host: GitHub
- URL: https://github.com/SimformSolutionsPvtLtd/SSSwiftUIVideoLayerView
- Owner: SimformSolutionsPvtLtd
- License: mit
- Created: 2020-01-08T15:24:13.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-07T13:02:36.000Z (about 5 years ago)
- Last Synced: 2024-07-23T22:03:54.466Z (7 months ago)
- Topics: ios, swiftui, swiftui-components, video, video-player
- Language: Swift
- Homepage:
- Size: 1.01 MB
- Stars: 14
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-SS-Mobile - SSSwiftUIVideoLayerView - SSSwiftUIVideoPlayerLayer is a custom controller which helps to load video in SwiftUI. (iOS Guides / SwiftUI)
README
# SSSwiftUIVideoLayerView
SSSwiftUIVideoPlayerLayer is a custom controller which helps to load video in SwiftUI.[![Version](https://img.shields.io/cocoapods/v/SSSwiftUIVideoLayerView.svg?style=flat)](https://cocoapods.org/pods/SSSwiftUIVideoLayerView)
[![License](https://img.shields.io/cocoapods/l/SSSwiftUIVideoLayerView.svg?style=flat)](https://cocoapods.org/pods/SSSwiftUIVideoLayerView)
[![Platform](https://img.shields.io/cocoapods/p/SSSwiftUIVideoLayerView.svg?style=flat)](https://cocoapods.org/pods/SSSwiftUIVideoLayerView)![Alt text](https://github.com/simformsolutions/SSSwiftUIVideoLayerView/blob/master/SSSwiftUIVideoLayerExample.gif?raw=true)
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Requirements
- iOS 13.0+
- Xcode 11+## Installation
SSSwiftUIVideoLayerView is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'SSSwiftUIVideoLayerView'
```# Usage example
-
**Import framework**import SSSwiftUIVideoLayerView
-
**Load Video with SwiftUIVideoLayerView function**
SwiftUIVideoLayerView(videoName: "VideoName", videoType: "mp4")## License
SSSwiftUIVideoLayerView is available under the MIT license. See the LICENSE file for more info.