Youtube Player in Chrome

ddmmh

Well-known member
I've moved this from bugs to troubleshooting as I am able to show videos in full screen on all browsers in a default installation.

You can test it yourself here: http://xenforo.com/community/threads/brits-ukuleles-and-spaghetti-texas.18070/

This could be due to an add-on or the embed code used on your site.
Your right, those other videos do work.

I havent touched the embed code so it could be an add-on? Not sure.

Did you by chance test out the video on my site to see if you could get full screen in chrome?

Cheers
 

Brogan

XenForo moderator
Staff member
Yes, it didn't work for me.

The same video did work on my test site and here so it's definitely something specific to your installation.
 

ddmmh

Well-known member
Yes, it didn't work for me.

The same video did work on my test site and here so it's definitely something specific to your installation.
Hmm interesting...

Thanks for that.

I havent updated to flexile 1.04, still at 1.03. Other then that I have no idea...
 

Brogan

XenForo moderator
Staff member
What does your embed code look like?

It should be this:
Code:
<object width="640" height="385" 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="transparent" />
<embed src="http://www.youtube.com/v/{$id}&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" wmode="transparent" width="640" height="385" />
</object>
Or this:
Code:
<iframe class="youtube-player" type="text/html" width="640" height="390" src="http://www.youtube.com/embed/{$id}?wmode=opaque" frameborder="0"></iframe>
I use the latter iframe version on my site, XenForo.com uses the former.
 

ddmmh

Well-known member
What does your embed code look like?
Mine looks like this;

Code:
<object width="500" height="300" 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="500" height="300" />
</object>
I inserted the first code you provided and it worked! It is slightly different to what I use I noticed, I have no idea why as I have never edited it.

Whats even better is the iframe version is so much nicer and now Im using that.

Thanks Brogan, your a genius. Problem SOLVED!
 
Top