Can't insert youtube videos

Hello guys, since WKWebView enforces CORS, I can’t insert YouTube videos in my App because Youtube doesn’t allow Access-Control-Allow-Origin.

I get the following error when trying to play a video:

Failed to load The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin '' is therefore not allowed access. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

How could I solve this?