Page 1 of 1

YouTube code

Posted: Fri Aug 12, 2016 8:27 am
by greeneyed1989
Hi all

We have installed the YouTube code on our forum and while it is still working on IOS, it has suddenly stopped working today on PC, using Chrome, IE Edge and Firefox. Firefox suggests a "plug in is required" to view the content.

Any ideas how to fix this?

Re: YouTube code

Posted: Fri Aug 12, 2016 9:07 am
by Mick
Presumably you mean a BBCode? Have you changed anything such as editing anything or changing settings to cause this? If you've changed nothing then your host probably has. Please post the code you're using surrounded in

Code: Select all

 tags.

Re: YouTube code

Posted: Fri Aug 12, 2016 12:06 pm
by GandalfleGris
Same problem on my forum since this morning. :? Zero problem in five years.

My BBCode : [youtube]{IDENTIFIER}[/youtube]

Youtube videos are not displayed properly.

Instead, there is a kind of vertical black bar.

I have not touched anything.

Re: YouTube code

Posted: Fri Aug 12, 2016 12:12 pm
by david63
As I said in another topic - if this has just started happening then there is a possibility that Youtube have changed something. Have you asked/searched at Youtube?

Re: YouTube code

Posted: Fri Aug 12, 2016 2:34 pm
by Cheezeaza
I would like to add that if you change your youtube embeds from

Code: Select all

http://youtube.com/v/{VIDEO_ID}
to

Code: Select all

http://youtube.com/v/{VIDEO_ID}&version=2
the flash embeds will continue to work.

Re: YouTube code

Posted: Fri Aug 12, 2016 10:25 pm
by GandalfleGris
Problem solved (without doing anything) ! :D

[EDIT : And... problem returns.]

Re: YouTube code

Posted: Sat Aug 13, 2016 3:21 pm
by zath
GandalfleGris wrote:Problem solved (without doing anything) ! :D

[EDIT : And... problem returns.]
I'm wondering if this is a Youtube problem or IE problem.
I've changed nothing on my forum and now the vids don't show. What tells me its not the code is that a wanted to watch a demo vid on my web host's site and the didn't play either. Plus, the actual video holder area isn't correct as part of the yt icon text is off the edge of the area.

Re: YouTube code

Posted: Sat Aug 13, 2016 3:27 pm
by GandalfleGris
My solution :

BEFORE :

Code: Select all

[youtube]{IDENTIFIER}[/youtube]

Code: Select all

<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/{IDENTIFIER}" width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/{IDENTIFIER}" />
<param name="wmode" value="transparent" />
</object>
AFTER :

Code: Select all

[youtube]{IDENTIFIER}[/youtube]
(same)

Code: Select all

<iframe width="560" height="315" src="https://www.youtube.com/embed/{IDENTIFIER}" frameborder="0" allowfullscreen></iframe>
On my forum, it works for old AND new embedded videos. \o/

Re: YouTube code

Posted: Sat Aug 13, 2016 4:21 pm
by zath
Thank you Gandalf, that worked for me too.
I've just updated to 3.1.9.

Great !

Re: YouTube code

Posted: Sun Aug 14, 2016 8:11 am
by greeneyed1989
GandalfleGris wrote:My solution...
Thanks heaps, that worked, and very simple to fix!