Okay
  Public Ticket #2239921
Embed Video Size
Closed

Comments

  • Brandon Buck started the conversation

    When I embed a video formatted into a text block, the video aspect ratio is forced at 16:9. How can I make a responsive video embed retain the file's original aspect ratio?

  •  1,695
    Support Agent 1 replied

    Hi Brandon,

    If you embed the video, it will be responsive and will always fill the width of the screen and set the height according to the video aspect ratio.

    Could you please tell us what is your video's original aspect ratio?

    Thanks in advance.



    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  • Brandon Buck replied

    I have videos in both 4:3 and 16:9, but embedding into a text block via [video tag] forces the video into 16:9.

  •  1,695
    Support Agent 1 replied

    Hi Brandon,

    We suggest that you add video via iframe tag within text element, like this:

    2296398327.png


    8691219468.png

    that way video will display properly even in 4:3 aspect ratio, without black bars:

    6555873468.png

    Let us know if you need help with anything else.


    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  • Brandon Buck replied

    Any way to keep this as a <video> tag for self-hosted videos?

  •  1,695
    Support Agent 1 replied

    Hi Brandon,

    You can use video tag within text element, the same way as with iframe tag:

    5826816414.png

    or you can use some of the third partly plugins for that purpose:

    https://wpcompendium.org/tag/self-hosted-video/

    Please note that this is just a suggestion, as we haven't tested above plugins with our theme so we can't guarantee they are compatible.

    Let us know if you need help with anything else.


    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!