• Hi there, i could really do with some help changing the width of a YouTube video that i am trying to embed on a page.

    I am copying the code from the Youtube embed section of the video that i want. I am then changing the height and width values, and then pasting into the text editor for my page.

    However every time i try, it is only the height of the video that changes, and the width always stays the same, at a maximum across the page.

    I would be very grateful for any advice on this matter.

    kind regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Your theme is probably imposing a maximum width on objects and iframes.

    Thread Starter Thundercat

    (@thundercat)

    Thank you for your response,

    I believe in the earlier versions of WP, the option to change the size of embedded video was in the Settings>Media section. Which is now gone.

    I managed to alter the max size of the iframe from within the editor by doing a ctrl -f search of the term ‘iframe’
    which found this. #article iframe {width: 100%;

    I changed the 100% to 50% and this worked.
    Is this the only way to change the size values of embedded video?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Embedded video not re-sizing’ is closed to new replies.