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

YouTube not showing when Android-mobile

Discussion in 'XenForo Questions and Support' started by erich37, May 13, 2013.

  1. erich37

    erich37 Well-Known Member

    at my Forum, the YouTube-videos are not showing when browsing with my mobile-phone (Android).

    However YouTube-videos are showing here at xenforo.com when browsing with my mobile-phone (Android).

    Do I have something wrong with my permission-settings or any other settings ?
    I have only revoked "Unregistered Users" to "View Attachments" via ACP.

    Anyone knows what I have done wrong ?

  2. Brogan

    Brogan XenForo Moderator Staff Member

    Use the iframe BB Code:

    <iframe width="640" height="390" src="http://www.youtube.com/embed/{$id}?wmode=opaque" frameborder="0" allowfullscreen></iframe>
    erich37 likes this.
  3. erich37

    erich37 Well-Known Member

    yep, that works fine now (y)
    Thanks a lot!

    Does that mean the XF-default-code in that "YouTube HTML Embed-box" does not work on Android ?
    But why are then YouTube-videos showing fine here at xenforo.com when browsing via Android-mobile ? :confused:

    <object width="640" height="390" data="http://www.youtube.com/v/{$id}&amp;fs=1">
        <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="640" height="390" />
  4. erich37

    erich37 Well-Known Member

    may I ask what is the XenForo default setting for YouTube-videos ?

    Is the field at "BB Code Media Sites" > "Embed HTML" empty by default ?
    What is the default code in that field ?
  5. Brogan

    Brogan XenForo Moderator Staff Member

Share This Page