Okay
  Public Ticket #3241978
Problem with a full page video on mobile
Closed

Comments

  •  1
    beantonia started the conversation

    Hi there, 

    I am having issues with the header. i'm using a video background and it's not responsive when fullscreen hight is on and when it's off I can not adjust the size to be full screen.

    Please help ASAP.

    Thank you in advance,

    Antonia

    Attached files:  issues with a header responsivness.JPG

  •  8,839
    Tahir replied

    Hey beantonia ,

    Please provide the page url so that i can write up the custom css for whats possible.

    Thanks


    ThemeNectar Support Team 

  •   beantonia replied privately
  •  2,958
    Andrew replied

    Hello again,

    The video seems to be resizing quite well from our end. I have tested on both Android and IOS devices. 

    6080226182.png

    What device are you seeing this error from? 

    Kind regards,

  •  1
    beantonia replied

    Hi Andrew,

    Yes, but not when it's a fullscreen hight which I want it to be. Is there a way I can upload 9:16 ratio for mobile?

  •  2,958
    Andrew replied

    Hello again,

    By design, we recommend adding videos with a 16:9 ratio for optimal responsiveness.

    Kind regards,

  •  1
    beantonia replied

    Hi,


    but again, as I explained it doesn't work on mobile. Please have a look at it now.

  •  8,839
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    @media only screen and (max-width: 690px){
        video.nectar-video-bg {
            width: 100% !important;
        }
    }

    Thanks


    ThemeNectar Support Team 

  •  1
    beantonia replied

    Hi Tahir, I did and it's not cropped for mobile. Is there a way I can upload 9:16 ratio for mobile only while keeping the original for the browser?

  •  8,839
    Tahir replied

    Unfortunately there is no such feature to upload different videos for different viewports. 

    Try embedding a Video instead so users can view it if needed.

    Thanks 


    ThemeNectar Support Team 

  •  1
    beantonia replied

    Well that really doesn't help me.. It's the intro video in the header.

  •  8,839
    Tahir replied

    You can add the Video using the "Self Hosted Video Player" Page Element as well.

    Thanks 


    ThemeNectar Support Team