• When I put youtube embed code on my page the video displays at full page width no matter what size is specified. I’ve tried using both of the following code format with different sizes and it’s always full width.

    <p><iframe src=”https://www.youtube.com/embed/xvF9pWMM-28&#8243; width=”560″ height=”315″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe></p>

    <p>[embed width="250" height="250"]https://www.youtube.com/embed/xvF9pWMM-28[/embed]</p>

    I notice on the page source code the following line which seems to override my specified size & default the video to display at full screen width:

    <p><iframe width=”1505″ height=”847″ src=”https://www.youtube.com/embed/xvF9pWMM-28?feature=oembed&#8221; frameborder=”0″ allow=”autoplay; encrypted-media” allowfullscreen></iframe></p>

    Any ideas how to fix this ?

    https://www.bestdealsfind.com/test/

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Unfortunately, you are using a premium theme and we do not support premium themes here in the wp.org forums. You will need to contact your theme developer for support. You can do that here.

    Thread Starter madhavadasa

    (@madhavadasa)

    This theme is a free theme downloaded on www.ads-software.com right here:

    https://www.ads-software.com/themes/fluida/

    How is that a premium theme ?
    Can someone give a solution to thios issue ?

    Thread Starter madhavadasa

    (@madhavadasa)

    I had already contacted the theme developer who replied:

    “This looks like a WordPress limitation, as the same thing happens on the default Twenty themes as well. They might’ve changed the way embedding works since the documentation was written.”

    It is not free according to their homepage:
    https://www.cryoutcreations.eu/wordpress-themes/fluida

    The one in the library is a demo version. You will either need to work with them to figure out the issue or choose a different theme.

    Here is another place you can get support from the developer and/or other users who use that theme, unfortunately we wont be able to provide the best support to you here in the Fixing WordPress support forum.

    I had just reached the topic engineer who answered:
    “This resembles a WordPress constraint, as a similar thing occurs on the default Twenty subjects too. They might’ve changed the way implanting works since the documentation was composed. click here

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Embedded youtube video defaults to full screen width’ is closed to new replies.