• Embed YouTube videos in an Ionic 2 application

    YouTube videos are typically embedded in an Ionic 2 application by loading a video into an iframe. So let’s try exactly that. Load YouTube video into iframe To start off, create a new Ionic 2 project and a new page “video”. Modify the video.html code to load a YouTube video as iframe src. In order to do so, get an embed url and iframe element for a YouTube video that you can copy & paste:

    Read more...