Home Support Themes ListingHive video display format

video display format

  • Author
  • paulina

    thanks for the advice so far.
    I have one more problem. In the attributes I added a video as “embedded content”.
    Users can add link to youtube. The problem is that the video shows too big. The video cover another attribute. It also looks bad on a smartphone.
    Can I change the video size? I need the video to be smaller.
    I think it is responsible for the “DISPLAY” field, more precisely “FORMAT”

    ihor developer

    If possible send a link to this page and I’ll check it, videos should be responsive by default and they shouldn’t cover any other content.


    Hi there,

    I think that I have same issue. Maybe I am doing this wrong.

    I tried to insert the embed code like that for example, with field type Embed

    <iframe width="560" height="315" src="%value%" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

    When I save it seems that the embed code is removed and therfore not saved.

    If don’t change the format, and only keep the value, it displays the video but as I can not change the embed display values, it displays way out of the frame and breaks the design.

    Do you have any tips on how to properly display an embed video from a simple link provided by the “Expert“?

    yevhen developer

    Please try keeping the %value% since it is a URL (wrapping it with iframe code will break it) parsed by WordPress and converted into an embed https://wordpress.org/support/article/embeds/

    Adjusting the video parameters is possible, but it would require a third-party plugin or altering the embed HTML via the code customizations https://developer.wordpress.org/reference/hooks/embed_oembed_html/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.