How to Display YouTube Videos as a URL Link with OSYouTube Pro

Documentation for Joomla 3

In some use cases, you may want to display a YouTube video as a URL. If you do this, you will not display the video, but only a link to YouTube.

This is possible with OSYouTube Pro. The parameter "Ignore HTML links" enables this.

Once you enabled it, the trick is to enter your URL in the HTML source code in the following format:

<a href="/url.of.your.youtube.video">url.of.your.youtube.video</a>

Let's take a look at how to do this in more detail.

  • In your Joomla 3 administrator panel, go to "Extensions" > "Plugins":

go to extensions plugins

  • You will be taken to the "Plugins" screen. Find your "OSYouTube Pro" plugin. Click on its title to open it up for editing its settings:

find osyoutube plugin open it for editing

  • Scroll down to find the "Ignore HTML links" parameter. Click on its option "Yes":

click yes

  • Click "Save" or "Save & Close".

Now you need to open up your required Joomla page for editing it in the "Source code" mode. How to open this mode depends on your default Joomla HTML editor.

  • If you use the TinyMCE editor, go to "Tools" > "Source code":

tools source code

  • If you use the JCE editor, click the "Code" tab:

in jce click the code tab

  • Enter your URL in the HTML source code, once again, in the following format:
<a href="/url.of.your.youtube.video">url.of.your.youtube.video</a>

enter your youtube video url in this format

  • Click "OK" and then click "Save" or "Save & Close".
  • Check your Joomla page with the URL of the YouTube video. You will see that this page displays only the URL, without the video.

final result

Documentation for Joomla 5

In some use cases, you may want to display a YouTube video as a URL. If you do this, you will not display the video, but only a link to YouTube.

This is possible with OSYouTube Pro. The parameter "Ignore HTML links" enables this.

Once you enabled it, the trick is to enter your URL in the HTML source code in the following format:

<a href="/url.of.your.youtube.video">url.of.your.youtube.video</a>

Let's take a look at how to do this in more detail.

  • In your Joomla 5 System Dashboard, go to "System" > "Manage" > "Plugins":

In Joomla 5 System Dashboard, go to System - Manage - Plugins

  • You will be taken to the "Plugins" screen. Find your "OSYouTube Pro" plugin. Click on its name to open it up for editing its settings:

click on the plugin name

  • You will see the parameters of your OSYouTube plugin. Scroll down to find the "Ignore HTML links" parameter. Click on its option "Yes":

set the ignore html links parameter to yes

  • Click "Save" or "Save & Close".

Now you need to open up your required Joomla article for editing it in the "Source code" mode. How to open this mode depends on your default Joomla HTML editor.

  • If you use the TinyMCE editor, go to "Tools" > "Source code":

in Joomla 5 in tinymce editor go to tools then source code

  • In JCE editor, click the "Code" tab:

in Joomla 5 in jce editor click the code tab

  • Enter your URL in the HTML source code, once again, in the following format:
<a href="/url.of.your.youtube.video">url.of.your.youtube.video</a>

enter your youtube video url in this format

  • Click "OK" and then click "Save" or "Save & Close".
  • Check your Joomla 5 article with the URL of the YouTube video. You will see that this page displays only the URL, without the video.

final result on Joomla 5