1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Browser Issue iPhone Youtube video overlaps style chooser overlay

Discussion in 'Resolved Bug Reports' started by trilogy33, Feb 7, 2012.

  1. trilogy33

    trilogy33 Well-Known Member

    The style chooser overlay appear underneath the youtube video window.

    iPhone 4S - iOS 5
    Default XenForo style

    To replicate:
    1. Get an iPhone! ;)
    2. Pick a thread where the last posted entry contains a youtube video
    3. Click the Style Chooser and...

    Boing! :oops:
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. Digital Doctor

    Digital Doctor Well-Known Member

  4. trilogy33

    trilogy33 Well-Known Member

    Unchanged. Here it be......... ;)

    <object width="500" height="300" data="http://www.youtube.com/v/{$id}&amp;fs=1" type="application/x-shockwave-flash">
        <param name="movie" value="http://www.youtube.com/v/{$id}&amp;fs=1" />
        <param name="allowFullScreen" value="true" />
        <param name="wmode" value="opaque" />
        <embed src="http://www.youtube.com/v/{$id}&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" wmode="opaque" width="500" height="300" />
    Should I be going transparent?
    I can't remember now for the life of me ;)
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Try changing it to <param name="wmode" value="transparent" />

    Or better still, use the iframe version.
    <iframe width="640" height="390" src="http://www.youtube.com/embed/{$id}?wmode=opaque" frameborder="0" allowfullscreen></iframe>
    trilogy33 likes this.
  6. trilogy33

    trilogy33 Well-Known Member

    Excellent, thank you. That has cured it. (y)
  7. Vincent

    Vincent Well-Known Member

    Just out of curiosity, why isn't the wmode by default if it helps? :)
  8. Mike

    Mike XenForo Developer Staff Member

    Wmode is default, but it looks like iOS may just ignore it.

    The iframe version is the YouTube default now (has been for a while).
    trilogy33 and Vincent like this.

Share This Page