Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #192169

    When I embed a Youtube video (using the automatic WordPress embed) the embedded window is far too big. The preview image is too big for the screen and when you press play, the video resizes, but the black box it is contained in does not. I have embedded videos before on WordPress.com with no problem. How do I fix this please?

    P.S: Sorry if this is already covered, I couldn’t see how to search your forum…

    #192180

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    #192229

    Thanks for your reply (sorry for the delay, but didn’t expect such a quick response)

    The post is up now on the home page.

    Thanks, Nyima

    #192245

    Hey!

    I’m sorry but you didn’t post the url of the website. Please the website here. You can use the Advance Layout Builder to embed a youtube video. Go to Media Elements tab then insert the Video element.

    Best regards,
    Ismael

    #192265

    Sorry – thought it would be the same person replying : )

    The link is: lttmaths.com the post is: Constructions – shapes and solids with constant width

    I was after embedding the videos in blog posts rather than as a page element – though the Layout Builder method will be useful for other parts of my website.

    I have done this before on a WordPress.com site with no issues, so not sure what’s happening here?
    Thanks for your help,
    Nyima

    #192397

    Hey!

    You can add this on your custom.css or Quick CSS:

    .youtube-player {
    height: 300px !important;
    }

    Regards,
    Ismael

    #192446

    Thank you – worked like a charm (my first piece of custom css – a moving moment!)

    Nyima : )

    #192465

    Ah… but then it over-rides the sizing when I insert a video elsewhere on the site using the advanced layout builder. I don’t know enough (or indeed anything!) about css to know how to overcome this.

    Perhaps there is a way to wrap the YouTube embed in some code to resize it (instead of adding css elsewhere) – doing this on an individual post basis wouldn’t be a big deal if that would work?

    What’s the best solution?

    Thanks again for your help,
    Nyima

    #192475

    Okay – I played about and found that there are shortcodes provided in the template to embed video (and all other media) directly into posts. Works very well; I just never used shortcodes before so hadn’t checked this option out.

    Thanks again for all the help – hopefully I’ll be able to solve more of my own issues now.

    Best wishes,
    Nyima

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘You-Tube embed – size issue’ is closed to new replies.