This topic has 4 replies, 2 voices, and was last updated 6 years by Laura.

  • Author
  • #205700
     Brandy
    Participant

    for at least a year now, I’ve used the following format when embedding a youtube video

    [youtube https://www.youtube.com/watch?v=Ow7KxqSRJ9Y&w=400&h=225%5D

    recently, all videos embedded with this formula are now showing full screen.

    example post: https://solutions.borderstates.com/linemans-rodeo-builds-skill-camaraderie/

    is there a bulk default video embed size setting somewhere, OR can you please recommend the correct format for this shortcode to size to 400px wide instead of full size?

    #205732
     Laura
    Moderator

    Hello, wordpress itself should automatically embed your video just by placing the URL at the post, and if you prefer, i can just provide you a css code to change the size of all videos to 400px, i would need a direct link to a post with a video

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #205779
     Brandy
    Participant

    how fantastic thank you so much for your help!
    here are a couple of direct links where you can see they are loading full size even thought we tried to set 400px in the shortcode… a CSS option would be perfect because this is the size we want for all of our youtube videos

    https://solutions.borderstates.com/linemans-rodeo-builds-skill-camaraderie/
    https://solutions.borderstates.com/video-led-lighting-for-your-commercial-facility/

    #205794
     Brandy
    Participant

    So the issue is that wordpress now forces a div around all embedded videos. We can’t get rid of it:

    I wrote a CSS rule into our template that forces that wrapper to 400px wide
    .fluid-width-video-wrapper { width:400px; height:225px;}

    You can see that it accepts the 400px but ignores my 225px height.

    I’m willing to call this a victory for now. thanks for the CSS rule idea.

    #205872
     Laura
    Moderator

    Understood, let me know if you need any help 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?