• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

AgentPress Video Embed Resizing

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › AgentPress Video Embed Resizing

This topic is: not resolved

Tagged: AgentPress Two

  • This topic has 23 replies, 4 voices, and was last updated 12 years, 5 months ago by seattlesavvy.
Viewing 20 posts - 1 through 20 (of 24 total)
1 2 →
  • Author
    Posts
  • January 27, 2013 at 2:54 pm #15402
    mikemueller
    Participant

    Next up on my hit list is my very own blog

    Embedded video is being somehow resized in my posts.  Here's the latest http://areweconnected.com/social-media/chasing-rodriguez/

    The baffling part is that it doesn't happen all the time - here's a post that the video is at the full pixel width I wanted.  http://areweconnected.com/social-media/the-guest-post-club/

    I've tried both the iframe style of youtube code and the old style code like
    <object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/EpNqSPHgIYw?hl=en_US&amp;version=3&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/EpNqSPHgIYw?hl=en_US&amp;version=3&amp;rel=0" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
    Baffled, I am.

    January 27, 2013 at 3:01 pm #15405
    AnitaC
    Keymaster

    Are you entering the code in "text mode?"


    Need help with customization or troubleshooting? Reach out to me.

    January 27, 2013 at 3:07 pm #15407
    mikemueller
    Participant

    Anita C.  Yes I am.  🙂

    January 27, 2013 at 3:16 pm #15408
    AnitaC
    Keymaster

    Can you try the iFrame code again on there so I can see what that looks like?


    Need help with customization or troubleshooting? Reach out to me.

    January 27, 2013 at 3:19 pm #15410
    mikemueller
    Participant

    Done!  still the same with

    <iframe width="560" height="315" src="http://www.youtube.com/embed/EpNqSPHgIYw?rel=0" frameborder="0" allowfullscreen></iframe>

    January 27, 2013 at 3:27 pm #15411
    AnitaC
    Keymaster

    Try this one without the extra code after the question mark (?)

    Crap!

    <iframe width="560" height="315" src="http://www.youtube.com/embed/EpNqSPHgIYw" frameborder="0" allowfullscreen></iframe>

    Need help with customization or troubleshooting? Reach out to me.

    January 27, 2013 at 3:42 pm #15420
    mikemueller
    Participant

    I see what you are trying to do but nope - that won't work. 🙁

    In fact it tries to iframe in my home page

     

    January 27, 2013 at 3:55 pm #15422
    AnitaC
    Keymaster

    The only other thing I can think of is to remove all code and just place the URL on the page in Text mode. In one of the upgrades they made it possible to just add the URL and it will convert it. Try adding that, save it and let's look at that. There's something kooky with that page! 🙂


    Need help with customization or troubleshooting? Reach out to me.

    January 27, 2013 at 4:00 pm #15423
    mikemueller
    Participant

    Ok, tried that and yes it get's the movie in there - but once again, same size.

    Chasing Rodriguez

    baffled, still.  🙁

     

    January 27, 2013 at 4:12 pm #15424
    AnitaC
    Keymaster

    Open up the code and right before the source (SRC) insert this:

    width="100%" height="400px"

    I can edit the code with Firebug and it goes full width.


    Need help with customization or troubleshooting? Reach out to me.

    January 27, 2013 at 4:23 pm #15428
    mikemueller
    Participant

    Thanks for the help - just did so the iframe embed code looks like
    <iframe src="http://www.youtube.com/embed/EpNqSPHgIYw?rel=0" height="400" width="100%" allowfullscreen="" frameborder="0"></iframe>
    Still, something is overriding the sizing.  This is fun, eh?

    MM

    January 27, 2013 at 4:30 pm #15430
    AnitaC
    Keymaster

    Try this (LOL)... create another post - copy and paste the code in there and view it DRAFT. See if it does the same thing in a new post.


    Need help with customization or troubleshooting? Reach out to me.

    January 27, 2013 at 4:36 pm #15431
    mikemueller
    Participant

    It does.

    I am writing a new post now.  Added the embed code (in text mode), saved the draft, then switched to visual mode.  The video shows as a full size box in the content area and when I 'preview' the post - it's the same small video.

    January 27, 2013 at 4:39 pm #15432
    AnitaC
    Keymaster

    Re-copy it in Text and save it draft - don't switch back to Visual at all... just save in Text and view it. Did you create the post that "works right" before or after you created this one?


    Need help with customization or troubleshooting? Reach out to me.

    January 27, 2013 at 4:47 pm #15436
    mikemueller
    Participant

    Just for you!

    http://www.youtube.com/watch?v=AQb2snXp8ag

    As for creating the post before or after - the one that worked was one that I created before the issue.  Yet I can go back a few years and find videos that are doing the same thing.  I know it's not a random thing but it's working that way.

    January 27, 2013 at 4:49 pm #15437
    AnitaC
    Keymaster

    So now I think it's an upgrade issue with WordPress possibly. We should try to Google this problem now.


    Need help with customization or troubleshooting? Reach out to me.

    January 27, 2013 at 5:02 pm #15438
    mikemueller
    Participant

    Not that I need to mention - I'm up to date on everything.  wp 3.5.1  Genesis1.9.1 and so on.
    I've tried to use Firebug, chrome and a few others to source the issue to no avail.
    I appreciate your help - thanks for trying!

    January 27, 2013 at 9:50 pm #15506
    AnitaC
    Keymaster

    Mike, someone else posted this problem on WordPress.org. I left a message letting him know that we were trying to figure this out to, but what he said was if you have a video on a page/post where there are "other links" - the video shrinks. But it you put it on a page with all text - the video will go full width. Try that to see what happens. Here's the link on WordPress.org.

    http://wordpress.org/support/topic/links-cause-youtube-videos-to-display-smaller


    Need help with customization or troubleshooting? Reach out to me.

    January 27, 2013 at 9:52 pm #15507
    AnitaC
    Keymaster

    Okay I found this too - http://www.wpbeginner.com/wp-themes/how-to-set-oembed-max-width-in-wordpress-3-5-with-content_width/.

    Seems this may fix the problem.


    Need help with customization or troubleshooting? Reach out to me.

    January 28, 2013 at 11:18 am #15587
    mikemueller
    Participant

    Awesome!  Thanks Anita!  You Rock!
    I'll give it a try.

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 24 total)
1 2 →
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble