- Posts: 6
- Thank you received: 0
Video Background option
- 
        steveh
 Active member
- 
            
				 Topic Author Topic Author
- New Member
- 
              
        Less
        More
        
            
    
        
            
        
                4 years 5 months ago                #47904
        by steveh
    
    
            
            
            
            
            
                                
    
                                                
    
        Video Background option was created by steveh            
    
        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
Bruce Gordon
Please Log in to join the conversation.
- 
        milos
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 6899
- Thank you received: 737
            
        
                4 years 5 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:
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):
You can add any other HTML instead of:
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
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>
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.
- 
        steveh
 Active member
- 
            
				 Topic Author Topic Author
- New Member
- 
              
        Less
        More
        
            
    
        - Posts: 6
- Thank you received: 0
            
        
                4 years 5 months ago                #47910
        by steveh
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by steveh 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
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
- 
              
        Less
        More
        
            
    
        - Posts: 6899
- Thank you received: 737
            
        
                4 years 5 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
Thanks
Please Log in to join the conversation.
        Time to create page: 0.333 seconds    
    