1.0.12 • Published 7 years ago

cordova-plugin-hkvideoplayer v1.0.12

Weekly downloads
8
License
MIT
Repository
github
Last release
7 years ago

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

 	
// 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");