• 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

erich37

Well-known member
#1
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 ?


Thanks!
 

Brogan

XenForo moderator
Staff member
#2
Use the iframe BB Code:

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

erich37

Well-known member
#3
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:

Code:
<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" />
</object>
:cautious:
 

erich37

Well-known member
#4
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 ?