Load video from URL

I just wanted to know how to load video from url like Youtube.
It loads video in 5-10 seconds while video player loads url video in 20-30 seconds(for me).

To make it fast Don’t use your YouTube Blocks in screen Inetialize. rather use a Clock Timer to load the video faster.

I am using video player component.

Simple Put the direct Video URL in videoplayer1.source Block.

BTW You mentioned here a Video from YouTube

It takes too much time to load video.
I mentioned Youtube here because when you click on a video the video loads very fast even that is also from url.

Watch this tutorial

Youtube don’t show videos from a direct URL but from a Video code.


Can I show video from codes in Kodular? If yes then give me an example?