Video Background option

  • bruceg
    Active member
  • Topic Author
  • New Member
  • New Member
More
3 years 8 months ago #47904 by bruceg
Hi,I have used over 40 websites with your templates, and love them!I have a client who uses a video background on the front page where the same feature is available on your templates "Rain" and "Coworker".My client has unique needs for the front end that doesn't fit with either of the above templates.Is there other of your templates that can have the "video background" installed, say as an add-on or extension?An example, say my client likes your Veterinarian template, is there a way to use the "video background" feature in that template. If so, is it part of the template (perhaps hidden), or is the "video background" feature using an extension I can buy?Thanks for a great product, and hoping you have a way for me to provide the video background feature on some of your other templates.Regards
Bruce Gordon

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
3 years 8 months ago #47907 by milos
Replied by milos on topic Video Background option
Hi Bruce,

Disable WYSIWYG editor in global Joomla configuration.

In module position User1, you will need to remove the Hot Full Carousel module. In its place, create a custom HTML module and add this content:
Code:
<div class="text_over_video"><h1>Lorem ipsum text</h1></div> <video autoplay muted loop poster="images/video.jpg" id="bgvid"> <source src="images/video.mp4" type="video/mp4"> Your browser does not support the video tag. </video>

Make sure your video poster image is named video.jpg and your video file is named video.mp4 and they are both in the <joomla_root>/images folder (you can customize this).

In Extensions > Templates > Styles > Hot Veterinarian > Custom > CSS add this (somewhere on the top):
Code:
.mp_user1 video { width:100%; } .text_over_video { position: absolute; width:100%; color:#fff; text-align:center; z-index:9; padding-top:100px; } .text_over_video h1 { color:#fff; text-align:center; }

You can add any other HTML instead of:
Code:
<h1>Lorem ipsum text</h1>
in the text container.

You can customize color, padding, etc. in the above CSS code.

The above procedure should work, and I tested it. So, please try it and if you have further questions, write here. If possible, include a link to your site.

Regards,
Milos

Please Log in to join the conversation.

  • bruceg
    Active member
  • Topic Author
  • New Member
  • New Member
More
3 years 8 months ago #47910 by bruceg
Replied by bruceg on topic Video Background option
Thank you for the fix, Milos.

We have not yet chosen a template to use on this project. You asked me in  my original ticket to answer this question in the Veterinarian thread in the forums, but my question was  - can this fix be used on any of the Hot Joomla Theme templates, or is this fix just for the Veterinarian template?

Thanks,
Bruce

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
3 years 8 months ago #47911 by milos
Replied by milos on topic Video Background option
Basically, you can use this approach with any template. The only difference will be the module position where you'd like to add the video background module (or change the carousel with it) and, therefore, the class in CSS will be different. For example, ".mp_advert1 video" instead of ".mp_user1 video".

Thanks

Please Log in to join the conversation.

Time to create page: 0.160 seconds
Powered by Kunena Forum