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 format of <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 administrator panel, go to "Extensions" > "Plugins":
- You will be taken to the "Plugin" screen. Find your "OSYouTube Pro" plugin. Click on its title to open it up for editing its settings:
- Scroll down to find the "Ignore HTML links" parameter. Click on its option "Yes":
- Click "Save" or "Save & Close".
Now you need to open up your required Joomla page for editing in the "Source code" mode. How to open this mode depends on your default Joomla HTML editor.
- In TinyMCE editor, go to "Tools" > "Source code":
- In JCE editor, click the "Code" tab:
Enter your URL in the HTML source code in the format of:
<a href="/url.of.your.youtube.video">url.of.your.youtube.video</a>
- 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.