Okay
  Public Ticket #3079274
video lightbox settings
Closed

Comments

  •  6
    Ali started the conversation

    I would like to link to a vertical youtube video using the video lightbox on the salient theme. The video lightbox option only opens in 16x9, how can i change this to 9x16 instead?

    Also, is it possible to link to youtube shorts? or only regular youtube videos?

    Thank you

  •  277
    Noah replied

    Hi Ali,

    Could the video player element work in place of the video lightbox element.
    Its has an option to set the aspect ratio of the video to 9 X 16.

    Try that.

  •  6
    Ali replied

    No, I don't think so because I would like the video to appear when clicked (similar to lightbox). 

    Also, what are the differences in the lightbox options in the salient control panel? (Magnific, fancyBox3)

  •  8,460
    Tahir replied

    Hey Again,

    Please setup a test page so we can write up the custom css for the other ratios that you would like.

    Thanks 


    ThemeNectar Support Team 

  •   Ali replied privately
  •  8,460
    Tahir replied

    Hey Again,

    Please try using the "FancyBox" Lightbox as its mobile compatible and also the latest.

    Thanks 


    ThemeNectar Support Team 

  •  6
    Ali replied

    Hi, I've changed the theme lightbox to fancybox3. Still have the same issue.

  •  1,661
    Judith replied

    Hello Ali,

    Please try this css:

    .fancybox-slide--iframe .fancybox-content, .fancybox-slide--map .fancybox-content, .fancybox-slide--pdf .fancybox-content, .fancybox-slide--video .fancybox-content {
        padding-top: 56.25% !important;
    }

    If it fails. Please send in your admin login credentials so that we can check this out further.

    Thanks.

  •   Ali replied privately
  •  8,460
    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 (min-width: 1px) and (max-width: 690px) {
        .fancybox-slide {
            padding: 5px !important;
        }
        .fancybox-slide--video .fancybox-content {
            padding-top: 177.77% !important;
        }
    }

    Thanks


    ThemeNectar Support Team 

  •  6
    Ali replied

    Amazing. Thank you.