For YouTube videos, download the video first with a free tool like 4K Video Downloader, then upload the file here.
YouTube blocks server-side downloads, so YouTube links won't work — download the video and use the Upload tab instead.