- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Magento. How to manage background video
May 22, 2015
This tutorial will show you how to manage Background Video in your Magento template.
Magento. How to manage background video
-
Access your Magento admin panel, navigate to CMS > Static Blocks.
-
Open the block called ‘Additional info’ (the name of the block may differ in your template. E.g: ‘Additional info 2’):
-
You will see the following code in the ‘Content’ box:
Let’s emphasize basic parameters for the data-property attribute:
-
videoURL– is a link for the video you want to display as a background one;
-
quality – defines video quality (‘default’ or “small”, “medium”, “large”, “hd720”, “hd1080”, “highres”);
- containment – by default “self” is used to indicate block which will contain video, if it is initialized in script;
-
opacity – adjusts video transparency by values from ‘0’ to ‘1’;
-
loop – enables/disables video replay (true/false);
-
showControls – enables the controls display;
-
mute – is a sound cancellation;
-
startAt – determines the second from which the video will start;
-
stopAt – determines the second on which the video will stop;
-
autoplay – enables video autoplay.
-
-
To change the background video, you will need to change the link for ‘videoURL’ attribute. E.g:
videoURL:'http://www.youtube.com/watch?v=Iubkrzgp03s'
This is the end of the tutorial. Now you know how to manage Background Video in your Magento template.
Feel free to check the detailed video tutorial below: