Youtube Import Error (Failed to connect to 2607:f8b0:4000:801::1013)

Youtube Error with IPv6You’re trying to import/add videos from Youtube but you receive the following error:

Failed to connect to 2607:f8b0:4000:801::1013: Network is unreachable

If that’s the case, all you have to do is rename the following two PHP Melody files from your installation(s):

/admin/src/youtube.php into /admin/src/youtube.php-bk
/admin/src/youtube.ipv6.php into /admin/src/youtube.php

Now try importing Youtube videos and enjoy PHP Melody!

Note: this applies to PHP Melody v1.8.1 or newer