Play Local Video in ionic 3?


#1

Hi,

I work for an ionic app and I need to play some video which are in local .

But I don’t know how make video player.
I already checked Native Video Player but i don’t know how to use it on HTML.

I use the plugin

playVideo(path) {
    this.videoPlayer.play(path).then(() => {
      console.log('video completed');
    }).catch(err => {
      console.log(err);
    });

  }
  stopVideo() {
    this.videoPlayer.close();

  }

path = the path of the video called in html.

Do you have some informations for me and can you help me please?

Thanks in advance,

Regards
B.