Embedding Video into Text

Hi there,

About two-thirds of the way down this page http://www.eurasianwhispers.com/ultimate-resource-guide-learning-russian/ in the green box, you can see that I have added a video (via a shortcode).

Do you know how I can have it embedded in the text and aligned to the left like the image above it is?

Thank you,
EW

Hey There,

Thanks for posting in! To resolve your issue, you will have to edit your shortcode and add a style.

For example:

[x_video_embed style="width: 220px; float: left; margin-right: 20px;"]<iframe src="http://player.vimeo.com/video/67051688" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>[/x_video_embed]

Feel free to change the width and the right margin.

Hi Rue,

Thank you for your help. There’s just a couple of small issues: there’s quite a bit of space beneath the video when the screen is large. Do you know how I can fix this?

Also, would it be possible to have the size of the embedded video to adjust to screen size on a percentage basis, rather than with fixed dimensions.

Thank you,
EW

Hello There,

You may use this code instead:

[x_video_embed style="width: 50%x; float: left; margin-bottom: 20px; margin-right: 20px;"]<iframe src="http://player.vimeo.com/video/67051688" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>[/x_video_embed]

Hope this helps. Kindly let us know.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.