Video sizing different - Post ID 250389

User 458539 Photo


Registered User
1,625 posts

I have a demosite (incomplete layout)

http://tippingproductions.com/tpc/demosite5/

When I look at this in HTML Editor the image and the video are the same size but different when I upload it. Its supposed to be the same size as the picture next to it. Both are supposed to be 383 x 221 px.

Thanks in advance

Byron
User 2484360 Photo


Registered User
3,293 posts

It will not be perfect as the video is controlled via CSS. But you can change the padding-bottom set in .cc-video-wrapper to 34.75% and that should bring it close to the same size.
User 458539 Photo


Registered User
1,625 posts

Thanks will try - why does it work great in HTML editor?
User 2484360 Photo


Registered User
3,293 posts

This is most likely because of the screen size you are viewing at that time in the program.
User 458539 Photo


Registered User
1,625 posts

Adam

Why does the video overlay the image when I reduce the screen size?

Thanks

Byron
User 2614236 Photo


Registered User
141 posts

If you create a max-width of 383px on the video as you have with the image they become near enough the same size. On checking your iframe in the inspector here is the code I get

<iframe width="584" height="354" src="https://www.youtube.com/embed/GhboBwc12rA" frameborder="0" allowfullscreen></iframe>

so you have 584 x 354 so this is part of the problem
Tony
User 458539 Photo


Registered User
1,625 posts

(Great Pic!)

Not sure what you mean - I tried changing the dimensions to what you have and it still does the same thing
User 2614236 Photo


Registered User
141 posts

Hurts the nostrils though - wibble

mmmm need to think about this as it is showing to large in the inspector so somehow the sizes you are inputting are not changing.
Tony
User 458539 Photo


Registered User
1,625 posts

think I will try re importing RLM and maybe clean this up
User 458539 Photo


Registered User
1,625 posts

Ok - now Im really stumped - I re imported everything and changed sizes and it still super imposed the video over the jpg.

It seems to work ok before I import the pic and video
Thanks


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.