Android - Youtube / Vimeo Video doesnt work anymore

#1

Hi!
Since some time the iframe from youtube and vimeo doesnt load any more in my Android app. (Website could not be loaded).

The videos are still available, its just a problem in the app.

I already “whitelisted” Vimeo and YouTube in my app.js:

.config(function($ionicConfigProvider, $sceDelegateProvider){

  $sceDelegateProvider.resourceUrlWhitelist([ 'self','*://www.youtube.com/**', '*://player.vimeo.com/video/**']);

})

It looks like it doesnt load anymore since some Android update…

I am happy about any help!

#2

Have you tried something similar to this?

#3

Not working for me too… Thanks for posting

#4

Yes, but thank you!
I already had the line <allow-navigation href="*://*.youtube.com/*" />
in my config.xml file.

But I dont know where to put the line
this.url = this.sanitizer.bypassSecurityTrustResourceUrl(this.videoLink);