Forums

Flash movies squashed after 2.6.2 (6 posts)

  1. thefinallap
    Member
    Posted 3 years ago #

    After updating to WP 2.6.2 my embedded flash items are squashed, and I cannot adjust the size via the code.

    Example
    http://finallapradio.com/2008/09/08/tony-stewart-angry-with-team-after-richmond/

    The movie still works, but it's not at the right aspect ratio.

  2. Otto
    Tech Ninja
    Posted 3 years ago #

    You have a bit of code in your theme that's causing that. I don't know where it comes from, but if you look at your page's source:

    <style type="text/css">
      a { font-weight: bold; }
      .entry img, .entry embed, .entry object { max-width: 406px; width: expression(this.clientWidth > 406 ? 406: true); height: auto; }</style>

    That height:auto; is what's doing it.

  3. thefinallap
    Member
    Posted 3 years ago #

    Ah, well I did "upgrade" my sites theme at the same time...odd....thanks!

  4. thefinallap
    Member
    Posted 3 years ago #

    Actually shouldn't "auto" then take the aspect ratio of the embedded code, and the width 406 is to make sure it doesn't widen the site?

  5. Otto
    Tech Ninja
    Posted 3 years ago #

    I never have the first clue what "auto" does when it comes to that sort of thing. All I know is that when I remove the height:auto from your CSS, it works fine in my browser.

  6. thefinallap
    Member
    Posted 3 years ago #

    Thanks Otto42

    Turns out it was the template I was using, contacted the creators and they sent me the correct code.

    Thanks for the help

Topic Closed

This topic has been closed to new replies.

About this Topic