Embed youtube in page can play only couple of minutes

I am using ionic 3.

With help of this tutorial: https://www.sebastianschirmer.com/blog/ionic-youtube-embed/
I embed Youtube video in the page.

But the video can only play for couple of minutes, after that, the player closed itself and go back to the page.

I have tried the native plugin Youtube-Video-Player, but the latest version of the plugin cause error when I tried to build iOS app. And this native plugin play video at Youtube instead of playing video inside the app, this is not I want.

I need to know is it possible to run large youtube video files in embed code.

Somebody help, thanks in advance.