Art Fast Youtube
Art Fast Youtube allows you to reduce page load time significantly by only loading Youtube video thumbnails rather than preloading the content in an iframe like the standard embed method. The video content is only fetched after a video thumbnail has been clicked to play so we don't waste any resources or time loading content that might not even be played.
Installation
Install the extension using standard Joomla! installation procedure (Extensions -> Install/Uninstall).
Plugin Setup
Install the module and/or plugin using standard Joomla! installation procedure (Extensions -> Install/Uninstall).
The next step is to enable the plugin from the Plugin Manager if you're using a plugin.
After you have enabled the plugin, you will load and render your youtube videos in any of your content using a simple shortcode.
{artfastyoutube videoid="YOUTUBEVIDEOID"}{/artfastyoutube}
Please replace YOUTUBEVIDEOID with the id of your YouTube video. In the example below we want to embed a youtube video. Here is the URL: https://www.youtube.com/watch?v=rn_YodiJO6k. Below is the correct shortcode for this video.
{artfastyoutube videoid="rn_YodiJO6k"}{/artfastyoutube}
use the {artfastyoutube} shortcode and add params like the above example. The params you can use on Art Fast Youtube are listed below:
Option | Type | Notes |
---|---|---|
videoid | string | This is the video id from a youtube video. (IE in the following YouTube link this is the id: rn_YodiJO6k https://www.youtube.com/watch?v=rn_YodiJO6k) |
thumbnail | string | Relative file path from site root to a custom video thumbnail image on your server. If you're using a custom video thumbail image then make sure the image is 16:9 aspect ratio. If you're not useing a custom video thumbnail image Art Fast Youtube will return a thumbnail image from Youtube API. |
Module Setup
If you're using the module then create a new module instance of type Art Fast Youtube from the Module Manager.
Next enter your Youtube videoid into the Video ID field in the module administrator. This is the video id from a youtube video. (IE in the following YouTube link this is the id: rn_YodiJO6k https://www.youtube.com/watch?v=rn_YodiJO6k).
Last if you want to use a custom video thumbnail image then enter a relative file path from site root to a custom video thumbnail image on your server in the 'thumbnail' field. If you're using a custom video thumbail image then make sure the image is 16:9 aspect ratio. If you're not using a custom video thumbnail image, Art Fast Youtube will return a thumbnail image from Youtube API.