YOUTUBE PROBLEMS IN DRUPAL 8

For those of you who are using the media module, you may be getting this error that does not allow you to place a youtube video on the website.

The provided URL does not represent a valid oEmbed resource.

The solution is in this blog. You have to open the settings.php file and put the line:

$settings['http_client_config']['force_ip_resolve'] = 'v4';
Tags

Have Any Project in Mind?

If you want to do something in Drupal maybe you can hire me.

Either for consulting, development or maintenance of Drupal websites.