Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

SSSwiftUIVideoPlayerLayer is a custom controller which helps to load video in SwiftUI.

Awesome Lists containing this project

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.