Avada has several built in short codes to manage your media. Youtube and Vimeo videos can be used all throughout the site and are all fully responsive. Images and videos can open in a lightbox, and you can use Soundcloud for all your audio files. All of this is easily accessed via built-in shortcodes.
The Lightbox Shortcode lets you display high resolution images in a lightbox and a thumbnail that triggers it. You can also have an image as a thumbnail, but display a video in the lightbox. This shortcode is fully responsive, and is compatible with any size of our columns shortcode. This shortcode also has the option to add Alternative Information in case the image or video does not load properly.
The Youtube Shortcode allows you to display videos from Youtube by simply entering the video ID. This shortcode is fully responsive and allows you to indicate the width and height it will display in. This shortcode also gives you the option to autoplay the video, and to add additional API parameters.
The Vimeo Shortcode allows you to display videos from Vimeo by simply entering the video ID. This shortcode is fully responsive and allows you to indicate the width and height it will display in. This shortcode also gives you the option to autoplay the video, and to add additional API parameters.
The Soundcloud Shortcode allows you to insert Soundcloud audio into your website with ease. Simply indicate the URL, and you’re good to go. This shortcode is fully responsive, and works perfectly with our columns shortcode. It also features some meta options such as width, height, auto play, color, and comments.
Complete Set of Options
Every option and description included with the media shortcodes are listed below.
title – the custom description text that will be displayed inside the lightbox.
href – The URL path of the image, video or website you want to open in the lightbox.
data-rel – Must stay as prettyPhoto for the lightbox to work.
src – The URL path of the small image that will trigger the lightbox.
alt – The custom alternative title text that will show up in the lightbox.
class – Add a custom class to the wrapping HTML element for further css customization.
id – Add a custom id to the wrapping HTML element for further css customization.