YouTube code

Get help developing custom BBCodes or request one.
Post Reply
greeneyed1989
Registered User
Posts: 4
Joined: Sun Nov 21, 2010 9:10 am

YouTube code

Post by greeneyed1989 » Fri Aug 12, 2016 8:27 am

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?
Last edited by Mick on Fri Aug 12, 2016 9:02 am, edited 1 time in total.
Reason: Moved from [3.1] support

User avatar
Mick
Support Team Member
Support Team Member
Posts: 18119
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: YouTube code

Post by Mick » Fri Aug 12, 2016 9:07 am

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.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

GandalfleGris
Registered User
Posts: 4
Joined: Fri Aug 12, 2016 12:01 pm

Re: YouTube code

Post by GandalfleGris » Fri Aug 12, 2016 12:06 pm

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.
Last edited by GandalfleGris on Fri Aug 12, 2016 10:26 pm, edited 2 times in total.

User avatar
david63
Jr. Extension Validator
Posts: 13136
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: YouTube code

Post by david63 » Fri Aug 12, 2016 12:12 pm

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?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Cheezeaza
Registered User
Posts: 2
Joined: Fri Dec 05, 2014 8:26 pm

Re: YouTube code

Post by Cheezeaza » Fri Aug 12, 2016 2:34 pm

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.

GandalfleGris
Registered User
Posts: 4
Joined: Fri Aug 12, 2016 12:01 pm

Re: YouTube code

Post by GandalfleGris » Fri Aug 12, 2016 10:25 pm

Problem solved (without doing anything) ! :D

[EDIT : And... problem returns.]

zath
Registered User
Posts: 7
Joined: Wed May 20, 2015 12:27 pm

Re: YouTube code

Post by zath » Sat Aug 13, 2016 3:21 pm

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.

GandalfleGris
Registered User
Posts: 4
Joined: Fri Aug 12, 2016 12:01 pm

Re: YouTube code

Post by GandalfleGris » Sat Aug 13, 2016 3:27 pm

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/

zath
Registered User
Posts: 7
Joined: Wed May 20, 2015 12:27 pm

Re: YouTube code

Post by zath » Sat Aug 13, 2016 4:21 pm

Thank you Gandalf, that worked for me too.
I've just updated to 3.1.9.

Great !

greeneyed1989
Registered User
Posts: 4
Joined: Sun Nov 21, 2010 9:10 am

Re: YouTube code

Post by greeneyed1989 » Sun Aug 14, 2016 8:11 am

GandalfleGris wrote:My solution...
Thanks heaps, that worked, and very simple to fix!

Post Reply

Return to “Custom BBCode Development and Requests”

Who is online

Users browsing this forum: No registered users and 5 guests

cron