Embed YouTube Videos in Angular2 RC4 and Ionic2 Beta

Since in ng2 there is no sceDelegateProvider anymore, you would have to use the DomSanitizationService of Angular2's platform-browser module.

Component

Import

import {SafeResourceUrl, DomSanitizationService} from '@angular/platform-browser';  

Class

class Page1 {  
    url: SafeResourceUrl;
    constructor(sanitizer: DomSanitizationService) {
        this.url = sanitizer.bypassSecurityTrustResourceUrl('https://youtube.com/embed/XHCVWWsQmUs');
    }
}

Template

 <iframe height="190" onload="this.width=screen.width" [src]="url" frameborder="0" ></iframe>

Cordova

In config.xml do:

<allow-navigation href="*://*.youtube.com/*" />  

Above solution is tested and working in iOS 9.3.