For the workaround to include links for online sources, see my reply in the other thread.
Keep in mind that the standard YouTube license does not allow to download and distribute content without the explicit permission by the video copyright holder.
You should only import resources that you’ve created and have the license for, or if the resources creator (copyright holder) explicitly granted you redistribution permissions for your Kolibri implementation.