Hi, I just bought the latest MD-Slider module because I want to lay a video behind my 4-year-old MD_slider on our home page. Your advertisement for it says "you can add text, image or video and create fancy slider," but I don't see any option for a video background. Please tell me how to do this. Thank you.
Thu, 08/16/2018 - 09:58
Hello,
Which version of MD Slider are you using? For Drupal7 or Drupal8?
- Drupal7: The newest version is 7.x-2.24. Please follow the follwing screenshot:
http://prntscr.com/kjlasf
- Drupal8: background video is not supported yet. We will add this feature in next version
Thank you!
Thank you! I do have the latest and am using Drupal 7. Is there a way to have one video play underneath all slides without restarting at each slide?
Hello.
Currently, we only support different video for each slide. One video for all slides is not supported yet
If you want that function, you can follow our following instruction:
(Note* You should save/back up this change to update in future versions of MD Slider)
+ Open file template: md_slider/templates/front/md_slider.tpl.php and add the following code:
right under the code:
http://prntscr.com/kk0ri0
+ Open file md_slider/js/md-slider.js, search function init and add the code below:
right under:
http://prntscr.com/kk0tf2
In order to show one backgroud video for all slides at frontend, you please DO NOT set backround for all slides (image, video, color). You just insert slide objects (text, image, video) into slide. http://prntscr.com/kk0ueg
Then clear drupal cache and test at frontend. The background video plays correctly http://prntscr.com/kk0uqv