My app has an embeded youtube player.
As described in youtube policy, the youtube logo inside the player should be clickable and open the youtube vidoe page or youtube app if avabilable. Somehow it does nothing when I clicked on it.
I think it was working with UIWebView and I’ve installed WkWebView now. Not sure if this is related.
I suspect it is due to incorrect config of whitelist? But I couldn’t figure that out.
Any idea?
Also, what video player did you use for playing youtube in your app? I’ve tried videogular but the request keeps getting cancelled. what worked for you.
On my iOS devices I have the same problem, on Android the YouTube player isn’t even showing.
I looked into the suggestion of @PWHSoftware (thx for that!) but in my case I don’t only include a YouTube video, but my YouTube video is part of other inserted HTML. That’s why I use bypassSecurityTrustHtml instead of bypassSecurityTrustResourceUrl.
Did someone perhaps have an idea how can I fix this?