Video Player in IONIC
$ ionic cordova plugin add https://github.com/moust/cordova-plugin-videoplayer.git $ npm install --save @ionic-native/video-player@4
import { VideoPlayer } from '@ionic-native/video-player';
constructor(private videoPlayer: VideoPlayer) { }
...
// Playing a video.
this.videoPlayer.play('file:///android_asset/www/movie.mp4').then(() => {
console.log('video completed');
}).catch(err => {
console.log(err);
});