• Resolved bethkmartin

    (@bethkmartin)


    I have the free version of Make. Embedding youtube videos is proving to be impossible on posts. When I make pages, it is fine, because they are bounded by their containers in the builder templates. But I don’t have builder templates in posts, so they always enlarge to the maximum size of the entry.

    Even if I put embed tags around them constraining their width, they still stretch out to be huge. They look resized in the editor, but then when the post is published, the new width is ignored.

    I tried to change the max-width for the iframe in the CSS, and it will contrain the video size, but then there is an invisible wrapper that takes up that whole space that the enlarged video would take – so then I’ll have a video that’s the right size surrounded by a ton of whitespace.

    Here is a test post with the same video. The first is not with any embed code on it, the second has an embed limiting the width. As you can see, they are both the same huge size, and the embed code is ignored.

    https://thosemartins.com/?p=1184

    Help please! and thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there!

    I hope you had a good weekend. Sorry you’re having trouble with this.

    Make uses a script to convert statically sized video embeds into responsive, scalable ones so that they will still be viewable on mobile devices. It appears that an unfortunate side effect of this, however, is that it makes it really tricky to embed a video that’s actually smaller than the full width of the content container. It’s on our list of issues to investigate, so we can hopefully come up with a more flexible solution here.

    In the mean time, here’s how you can embed a smaller video in your content. You’ll want to switch to the Text mode in the content editor and add a div around your embed code with a specific width. It will look something like this:

    <div style="width: 300px;">
    [embed]https://www.youtube.com/watch?v=dQw4w9WgXcQ[/embed]
    </div>

    Sorry that’s the best we can do for now! Hopefully we can address this issue in an upcoming release.

    Best of luck with your website!

    Thread Starter bethkmartin

    (@bethkmartin)

    Ok, that works. Thanks!

    Anonymous User 9936702

    (@anonymized-9936702)

    You’re welcome! I’m glad to hear Melissa could help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems with Youtube size in posts’ is closed to new replies.