JoomlaXTC YouTube Background moduleThe easiest way to add life to your website, this module places one or more YouTube videos as a rotating background animation on the entire site, or just a portion.
InstallationInstallation is done as with any standard Joomla extension following these steps:
- Download the extension zip file to your PC
- Use the standard Joomla Extension Manager to install the file.
ConfigurationSetting up videos to appear is done thru the Extensions / Module Manager menu option and clicking on "JoomlaXTC YouTube Background" module to edit the parameters. For better results, make sure the module is in a Disabled state at first while you configure it to prevent any bad data or other disruption to your website frontend. Enable the module once you are done setting the parameters.
Module parameters are split in two main groups described below:
|Videos||These are the YouTube video ID's for the video(s) you want to show. Make sure to place only one value per line.|
|CSS Selector||This parameter specifies the placement of the videos. An empty value will show the videos as the background of the entire site, any other value will be used to locate the containing block for the videos. For example, a value of #myarea will show the videos as background of a block with ID="myarea", eg: <div id="myarea">videos go here</div>|
|Overlay image||This optional parameter selects an image from images/ folder to be used as an overlay for the video.|
|Hi-res Overlay image||Same as above, only this image will be shown on high-definition / retina devices.|
|Overlay Position||CSS background alignment value for the overlay image. Default value is "repeat"|
|Opacity||Select the opacity of the video player.|
|Mute||Choose to hear or not video sound.|
|Ratio||Select the aspect ratio of videos.|
|Quality||Choose the best video quality for your needs.|
|Optimize Display||Fits video to display area.|
|Loop||Loop video playback.|
|Shuffle||Randomizes playing order for multiple videos.|
|Volume||Set video player volume (0=mute 100=max).|
|Start Position||Set the seconds the video should start at.|
|Load jQuery||The module uses jQuery, use this parameter to choose how to load it. Disable if your are already calling it else where.|
|Alternative Layout||Select an alternate HTML rendering method, if available. See Joomla! documentation for more information.|
|Module Class Suffix||Custom CSS class to be added on Module display. See Joomla! documentation for more information.|
|Caching||Select a Joomla! caching method. See Joomla! documentation for more information.|
|Cache Time||Cache Time. See Joomla! documentation for more information.|
PublishingOnce parameters are set, it is time to publish the module. The best place to do so is in the debug module position of your template. If for some reason your template does not have such a module position, you can easily add one following these simple steps:
Locate and edit the index.php of your template. In some instances, the file to look for may be different. Consult your template's documentation for more information. In the case of JoomlaXTC templates, the file you need to edit is templates/templatename/layouts/layoutname/layout.php (replace templatename and layoutname with your own values).
Find the </body> tag in the .php file and change it from this:
<jdoc:include type="modules" name="debug" /> </body>Once done, save the changes and go back to the module parameters view.
On the module parameters view, type debug as the module position name and click on the Save icon to store your changes.
Working with YouTube videosYouTube video playback is subject to many conditions. For example, a video might be configured to prevent playback on mobile devices, or it could have DRM region locks preventing playback on your user's locations. In addition to this, some videos may only be available in non-compatible formats or unwanted resolutions. To make matters worse, different browser technologies may cause one video to play in one browser but not in another.
These rules and locks may be outside of your control so when using videos from a 3rd party, always make sure they work on the browsers and devices you intend to use.
Copyright 2013 Monev Software LLC www.joomlaxtc.com