Sometimes you may need to add a YouTube link to your XtreamUI / XtreamCodes panel, but this is not possible by default in Xtream UI / Codes, and to achieve this goal you will need to use other tools to be able to use the YouTube link into your panel as stream.
In this tutorial, you will learn how to easily add YouTube links to your panel.
The first thing that you need is to log in with SSH to your server and And ran the below commands step by step in to your SSH.
now you can add youtube link as stream link into the panel.
ie: “https://www.youtube.com/watch?v=TKAYCjmNL7M”
by using this technique you are able to add videos as you search on YouTube, paste it as a stream link to the panel,
ie: “https://www.youtube.com/results?search_query=iptv+advice”
it uses the first video of search results.
also, This technique works with twitch.tv, paste as a stream link into the panel.
ie: “https://twitch.tv/lirik”