title: HTML5 video player is not working in ionic5 android
body: <p>I need to create a video player with captions for web, Android and IOS. So I used HTML5 video player. It works fine in web but in android device this is not working.<a href="https://i.stack.imgur.com/GIqXc.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GIqXc.jpg" alt="enter image description here" /></a></p>
  <p><strong>HTML CODE</strong></p>
  <pre><code>&lt;div class=&quot;videoplayer-container&gt;
    &lt;video src=&quot;http://static.videogular.com/assets/videos/videogular.mp4&quot;  #videoPlayer (click)=&quot;toggleVideo() &gt;&lt;/video&gt;
  &lt;/div&gt;
  </code></pre>
  <p><strong>TS CODE</strong></p>
  <pre><code>  toggleVideo() {
      if (this.videoplayer.nativeElement.paused) { 
        this.videoplayer.nativeElement.play();
      } else {
        this.videoplayer.nativeElement.pause();
      }
    }
  </code></pre>