New Landing How can we help? Themeforest Theme Support Flexform Resizing YouTube videos

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Flexform
  • #204332
    yourwebchick
    Member
    Post count: 36

    Why can’t I resize a youTube video in a blog post? In other words, at YouTube.com, I tell YouTube I want the size to be 420 x 315. I copy the iframe code given to me:

    <iframe width=”420″ height=”315″ src=”https://www.youtube.com/embed/a9uXYDmpFz8?rel=0&#8243; frameborder=”0″ allowfullscreen></iframe>

    But the video doesn’t display on the blog as 420W x 315H. It displays 100% of the content wrapper. How do I fix this?

    Thanks!

    #204457
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Did you place it inside an Raw Html element?

    -Rui

    #205096
    yourwebchick
    Member
    Post count: 36

    I’m not using the Page Builder; I generally don’t on posts. Is that the only way to be able to successfully resize a YouTube video?

    #205392
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    It should work in the classic editor.
    Can you provide me access so I can check for a solution?

    Thanks

    -Rui

    #219849
    yourwebchick
    Member
    Post count: 36
    This reply has been marked as private.
    #220350
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Please edit your post, locate the iFrame code you have for the video, you can use the extra ignore class to stop FitVids making the video fullwdith class="fitvidsignore":

    <iframe src="https://www.youtube.com/embed/a9uXYDmpFz8?rel=0" width="320" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe>

    Replace with:

    <iframe src="https://www.youtube.com/embed/a9uXYDmpFz8?rel=0" width="320" height="315" frameborder="0" allowfullscreen="allowfullscreen" class="fitvidsignore"></iframe>

    – David.

    #224731
    yourwebchick
    Member
    Post count: 36

    WOOT! That did the trick!! Sorry for the delay…I never received notice that this ticket had been updated!

    #224733
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. thanks David.

    -Rui

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register