Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hardikdevios/cordova-plugin-hkvideoplayer
ionic/cordova Plugin to Play native Video Player (SWIFT)
https://github.com/hardikdevios/cordova-plugin-hkvideoplayer
cordova ionic2 ios npm swift3
Last synced: 2 months ago
JSON representation
ionic/cordova Plugin to Play native Video Player (SWIFT)
- Host: GitHub
- URL: https://github.com/hardikdevios/cordova-plugin-hkvideoplayer
- Owner: hardikdevios
- License: mit
- Created: 2017-06-04T08:01:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-04T16:02:43.000Z (over 7 years ago)
- Last Synced: 2024-10-01T16:49:58.908Z (3 months ago)
- Topics: cordova, ionic2, ios, npm, swift3
- Language: Swift
- Size: 18.6 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HKVideoPlayerPlugin
ionic/cordova Plugin to Play native Video Player (SWIFT)## Installation
```
cordova plugin add cordova-plugin-add-swift-support //Swift Bridging Hook
cordova plugin add cordova-plugin-hkvideoplayer
```### iOS specifics
* Uses the AVPlayer.
* Tested on iOS 10.X
* Swift 3## Usage
```javascript
// Define On Top
declare var HKVideoPlayer;// Play Video from Application Directory or Stream Online
HKVideoPlayer.play("full path");// Play Video from Assets
HKVideoPlayer.playLocal("video.mp4");```