Tagged: Youtube
-
AuthorPosts
-
November 23, 2013 at 1:02 am #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…
November 23, 2013 at 1:51 am #192180Hi,
Can you post the link to your website please?
Regards,
JosueNovember 23, 2013 at 11:24 am #192229Thanks 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
November 23, 2013 at 1:54 pm #192245Hey!
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,
IsmaelNovember 23, 2013 at 3:15 pm #192265Sorry – 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,
NyimaNovember 24, 2013 at 4:38 am #192397Hey!
You can add this on your custom.css or Quick CSS:
.youtube-player { height: 300px !important; }
Regards,
IsmaelNovember 24, 2013 at 10:19 am #192446Thank you – worked like a charm (my first piece of custom css – a moving moment!)
Nyima : )
November 24, 2013 at 12:30 pm #192465Ah… 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,
NyimaNovember 24, 2013 at 2:21 pm #192475Okay – 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 -
AuthorPosts
- The topic ‘You-Tube embed – size issue’ is closed to new replies.