Embedding youtube videos - IOS platform

Hi,

This works fine on Android and I believe it was working also on iOS. But when testing on iOS 10 nothing shows but a blanc space where the video should be. Any advice over this issue?

Thanks

Angular2-Final changed everything. I now use:

import { DomSanitizer, SafeUrl } from "@angular/platform-browser";

But can’t confirm iOS 10, only Droid for now.

I used this working well android, but not working for ios
How can i solve this issue? help me.

app.config(function ($sceDelegateProvider) {
$sceDelegateProvider.resourceUrlWhitelist([‘self’, new RegExp(’^(http[s]?)://(w{3}.)?youtube.com/.+$’)]);});

Can you tell us, you have where added a code and which file?

.config(function ($sceDelegateProvider) {
$sceDelegateProvider.resourceUrlWhitelist([‘self’, new RegExp(’^(http[s]?)://(w{3}.)?youtube.com/.+$’)]);
});