Controlling embeded Youtube video size

Is there a way to control how large an embeded Youtube video is with the default WordPress editor? Can a video have text wrapped around it like an image can?

Thanks.

  • James Morris
    • WordPress Enthusiast

    Hello Aaron,

    I hope you are well today.

    Yes, absolutely, this is possible! Here’s some sample code of how I accomplished this.

    [caption]
    [embed width="350" height="197"]https://www.youtube.com/watch?v=qCwJPW78iEM[/embed]
    <p>WordPress WebSite Support by WPMU DEV</p>
    [/caption]

    Please keep in mind that it was necessary to use the <p></p> tags to drop the caption to the next line below the video. A break tag would probably suffice as well.

    I hope this clarifies a bit. Let us know if you have any further questions. We’ll be happy to help! :slight_smile:

    Best regards,

    James Morris

  • James Morris
    • WordPress Enthusiast

    Hello Aaron,

    Because of the nature of captions and videos, you may have some trouble with this. You may be better off to put the video in a div and float it left or right to get the desired effect.

    For example:

    <div style="float:right;margin:0 0 0 1em;">[embed width="350" height="197"]https://www.youtube.com/watch?v=qCwJPW78iEM[/embed]</div>
    <p>WordPress WebSite Support by WPMU DEV</p>

    Best regards,

    James Morris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.