Page 1 of 1

Embedding YouTube videos in posts

Posted: Sat Jun 07, 2008 12:42 am
by Charles L. Cotton
I have set up a YouTube button that appears on every post drafting screen. It makes it very easy to embed a YouTube video into a post. All you have to do is click on the "youtube" bottn that appears below the row of format buttons and paste the full URL of the YouTube video.

There is a code for doing the same for Google Videos, but I'm having trouble with it. I'll work on it later, when I get time. However, YouTube videos make up the vast majority of the videos to which links have been posted, so we should be in pretty good shape. If anyone is using phpBB Ver. 3.0.x and wants to add this feature, send me a PM. The code provided on the phpBB website is wrong and i finally figured it out.

By embedding the video in a post here on TexasCHLforum, we avoid the problem of profanity in the comments to a video. All rules about profanity, language warnings, etc. still apply.

Chas.

Re: Embedding YouTube videos in posts

Posted: Sat Jun 07, 2008 9:41 am
by thankGod
[youtube]http://www.youtube.com/watch?v=tbEei0I3kMQ[/youtube]

Testing.

It'll be slick if it shows.

Well done Chas.

Re: Embedding YouTube videos in posts

Posted: Sat Jun 07, 2008 9:42 am
by thankGod
Oops.

What did I miss?

Re: Embedding YouTube videos in posts

Posted: Sat Jun 07, 2008 10:15 am
by Mithras61
thankGod wrote:Oops.

What did I miss?
I think you missed the "Embedding disabled by request" thing on the Youtube page... :biggrinjester:

Re: Embedding YouTube videos in posts

Posted: Sat Jun 07, 2008 10:08 pm
by KBCraig
Yep, try with a different video.

Re: Embedding YouTube videos in posts

Posted: Sun Jun 08, 2008 6:36 am
by The Annoyed Man
I tried it with a different video that doesn't have embedding disabled, and I couldn't get it to work.

Re: Embedding YouTube videos in posts

Posted: Sun Jun 08, 2008 1:06 pm
by flb_78

Re: Embedding YouTube videos in posts

Posted: Sun Jun 08, 2008 1:26 pm
by The Annoyed Man
OK, I'll try this one on for size....

...nope, that didn't work.

I'll try this one....

[youtube]http://www.youtube.com/watch?v=2UPaRi0WY7c[/youtube]

I'm seeing other ones that others post, but not the ones I try. :???:

Re: Embedding YouTube videos in posts

Posted: Sun Jun 08, 2008 1:30 pm
by flb_78
apparently, we're not achmed does not want to be posted. :headscratch

Re: Embedding YouTube videos in posts

Posted: Sun Jun 08, 2008 1:38 pm
by The Annoyed Man
flb_78 wrote:apparently, we're not achmed does not want to be posted. :headscratch
[youtube]http://youtube.com/watch?v=S7pGt_O1uM8[/youtube]

That's odd.... I try reposting one of your links, and it works fine. Don't know what I'm going wrong, but it's not worth the time to me to figure it out.

Re: Embedding YouTube videos in posts

Posted: Sun Jun 08, 2008 5:16 pm
by Keith B
I think I found the is issue with some working and others not. If you put the www. in the link, it doesn't work. Cutting and pasting link from the page has the www. in it. It should look like this:

Code: Select all

[youtube]http://youtube.com/watch?v=wJU2qXf257Y[/youtube]
Regards,

Re: Embedding YouTube videos in posts

Posted: Sun Jun 08, 2008 5:34 pm
by Charles L. Cotton
Keith B wrote:I think I found the is issue with some working and others not. If you put the www. in the link, it doesn't work. Cutting and pasting link from the page has the www. in it. It should look like this:

Code: Select all

[youtube]http://youtube.com/watch?v=wJU2qXf257Y[/youtube]
Regards,
I agree that including "www" is the problem. However, I've tested at least 8 or 10 YouTube videos, both selecting them from the front page of YouTube and getting some by searching. The "www" didn't appear in any of the URLs I just copies. Are some people seeing the "www?"

Chas.

Re: Embedding YouTube videos in posts

Posted: Sun Jun 08, 2008 6:44 pm
by tarkus
testing [youtube]http://youtube.com/watch?v=k8XkIeTz-NU[/youtube]

Re: Embedding YouTube videos in posts

Posted: Sun Jun 08, 2008 7:02 pm
by Keith B
It depends on where you copy the link from. If you have not typed the www. in the address line, it won't be there when you copy from it. If you type www. it stays in the address line. If you use the copy link in the share section of YouTube, then it contains the www. Not a biggie, just something to be aware of when you paste your link.

Thanks for enabling this feature. I like it!! :thumbs2:
Charles L. Cotton wrote:
Keith B wrote:I think I found the is issue with some working and others not. If you put the www. in the link, it doesn't work. Cutting and pasting link from the page has the www. in it. It should look like this:

Code: Select all

[youtube]http://youtube.com/watch?v=wJU2qXf257Y[/youtube]
Regards,
I agree that including "www" is the problem. However, I've tested at least 8 or 10 YouTube videos, both selecting them from the front page of YouTube and getting some by searching. The "www" didn't appear in any of the URLs I just copies. Are some people seeing the "www?"

Chas.

Re: Embedding YouTube videos in posts

Posted: Fri Sep 17, 2010 5:11 pm
by Zoomie