BuddyDev

Search

Change size of video embed

Tagged: ,

  • Participant
    Level: Master
    Posts: 152
    Hugo Callens on #19092

    When I embed a YouTube video by pasting the url in a blog post it shows up with a width of only 200px.
    How can I change that?

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #19107

    Hi Hugo,
    How are you adding the video.
    I tested adding one and I see this

    https://i.imgur.com/X2baGRR.png

    The size of video(embed) is controlled by global variable $content_width and if you are adding videos on smaller screen, this may be the reason.

    If you can specify which device/screensize you used, I will be able to assist better.

    Thank you
    Brajesh

  • Participant
    Level: Master
    Posts: 152
    Hugo Callens on #19112

    I pasted the youtube url in the post. I am on a 21″ iMac.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #19113

    Hi Hugo,
    Are you using any plugin that controls embed or embed size?
    Is it happening with Community Builder theme or some other theme? If other, then which theme?

    Thank you
    Brajesh

  • Participant
    Level: Master
    Posts: 152
    Hugo Callens on #19116

    I am using the Community Builder theme. As far as I know there aren’t any plugins affecting the embed.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #19147

    Hi Hugo,
    Please link me to the site. Is there a possibility that the video has limited resolution? I have tested with Community and as linked it in my previous message, I don’t see any issue. That’s why I assumed that there may be some plugin controlling embed size.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved