Embedding YouTube videos in posts
-
Topic author - Site Admin
- Posts in topic: 2
- Posts: 17787
- Joined: Wed Dec 22, 2004 9:31 pm
- Location: Friendswood, TX
- Contact:
Embedding YouTube videos in posts
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.
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.
-
- Senior Member
- Posts in topic: 2
- Posts: 445
- Joined: Fri Feb 15, 2008 9:25 am
- Location: Beautiful downtown Bearcreek, Houston
Re: Embedding YouTube videos in posts
[youtube]http://www.youtube.com/watch?v=tbEei0I3kMQ[/youtube]
Testing.
It'll be slick if it shows.
Well done Chas.
Testing.
It'll be slick if it shows.
Well done Chas.
thankGod
NRA Life Member
TSRA
"Be watchful, stand firm in your faith, be courageous, be strong." 1Cor16:13
NRA Life Member
TSRA
"Be watchful, stand firm in your faith, be courageous, be strong." 1Cor16:13
-
- Senior Member
- Posts in topic: 2
- Posts: 445
- Joined: Fri Feb 15, 2008 9:25 am
- Location: Beautiful downtown Bearcreek, Houston
Re: Embedding YouTube videos in posts
Oops.
What did I miss?
What did I miss?
thankGod
NRA Life Member
TSRA
"Be watchful, stand firm in your faith, be courageous, be strong." 1Cor16:13
NRA Life Member
TSRA
"Be watchful, stand firm in your faith, be courageous, be strong." 1Cor16:13
-
- Senior Member
- Posts in topic: 1
- Posts: 913
- Joined: Wed Aug 02, 2006 8:43 pm
- Location: Somewhere in Texas
Re: Embedding YouTube videos in posts
I think you missed the "Embedding disabled by request" thing on the Youtube page...thankGod wrote:Oops.
What did I miss?

Re: Embedding YouTube videos in posts
Yep, try with a different video.
-
- Senior Member
- Posts in topic: 3
- Posts: 26870
- Joined: Wed Jan 16, 2008 12:59 pm
- Location: North Richland Hills, Texas
- Contact:
Re: Embedding YouTube videos in posts
I tried it with a different video that doesn't have embedding disabled, and I couldn't get it to work.
“Hard times create strong men. Strong men create good times. Good times create weak men. And, weak men create hard times.”
― G. Michael Hopf, "Those Who Remain"
#TINVOWOOT
― G. Michael Hopf, "Those Who Remain"
#TINVOWOOT
-
- Senior Member
- Posts in topic: 2
- Posts: 1277
- Joined: Sat Oct 13, 2007 11:17 am
- Location: Gravel Switch, KY
- Contact:
Re: Embedding YouTube videos in posts
[youtube]http://youtube.com/watch?v=6O72jon2nzY[/youtube] [youtube]http://youtube.com/watch?v=S7pGt_O1uM8[/youtube] [youtube]http://youtube.com/watch?v=p3kUD6W8QaQ[/youtube]
http://www.AmarilloGunOwners.com" onclick="window.open(this.href);return false;
-
- Senior Member
- Posts in topic: 3
- Posts: 26870
- Joined: Wed Jan 16, 2008 12:59 pm
- Location: North Richland Hills, Texas
- Contact:
Re: Embedding YouTube videos in posts
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.
...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.

Last edited by The Annoyed Man on Sun Jun 08, 2008 1:36 pm, edited 1 time in total.
“Hard times create strong men. Strong men create good times. Good times create weak men. And, weak men create hard times.”
― G. Michael Hopf, "Those Who Remain"
#TINVOWOOT
― G. Michael Hopf, "Those Who Remain"
#TINVOWOOT
-
- Senior Member
- Posts in topic: 2
- Posts: 1277
- Joined: Sat Oct 13, 2007 11:17 am
- Location: Gravel Switch, KY
- Contact:
Re: Embedding YouTube videos in posts
apparently, we're not achmed does not want to be posted. 

http://www.AmarilloGunOwners.com" onclick="window.open(this.href);return false;
-
- Senior Member
- Posts in topic: 3
- Posts: 26870
- Joined: Wed Jan 16, 2008 12:59 pm
- Location: North Richland Hills, Texas
- Contact:
Re: Embedding YouTube videos in posts
[youtube]http://youtube.com/watch?v=S7pGt_O1uM8[/youtube]flb_78 wrote:apparently, we're not achmed does not want to be posted.
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.
“Hard times create strong men. Strong men create good times. Good times create weak men. And, weak men create hard times.”
― G. Michael Hopf, "Those Who Remain"
#TINVOWOOT
― G. Michael Hopf, "Those Who Remain"
#TINVOWOOT
Re: Embedding YouTube videos in posts
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:
Regards,
Code: Select all
[youtube]http://youtube.com/watch?v=wJU2qXf257Y[/youtube]
Keith
Texas LTC Instructor, Missouri CCW Instructor, NRA Certified Pistol, Rifle, Shotgun Instructor and RSO, NRA Life Member
Psalm 82:3-4
Texas LTC Instructor, Missouri CCW Instructor, NRA Certified Pistol, Rifle, Shotgun Instructor and RSO, NRA Life Member
Psalm 82:3-4
-
Topic author - Site Admin
- Posts in topic: 2
- Posts: 17787
- Joined: Wed Dec 22, 2004 9:31 pm
- Location: Friendswood, TX
- Contact:
Re: Embedding YouTube videos in posts
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?"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:
Regards,Code: Select all
[youtube]http://youtube.com/watch?v=wJU2qXf257Y[/youtube]
Chas.
Re: Embedding YouTube videos in posts
testing [youtube]http://youtube.com/watch?v=k8XkIeTz-NU[/youtube]
If you can read this, thank a teacher. If it's on the internet, thank a geek.
Re: Embedding YouTube videos in posts
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!!
Thanks for enabling this feature. I like it!!

Charles L. Cotton wrote: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?"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:
Regards,Code: Select all
[youtube]http://youtube.com/watch?v=wJU2qXf257Y[/youtube]
Chas.
Keith
Texas LTC Instructor, Missouri CCW Instructor, NRA Certified Pistol, Rifle, Shotgun Instructor and RSO, NRA Life Member
Psalm 82:3-4
Texas LTC Instructor, Missouri CCW Instructor, NRA Certified Pistol, Rifle, Shotgun Instructor and RSO, NRA Life Member
Psalm 82:3-4
Re: Embedding YouTube videos in posts
Test
[youtube][/youtube]
[youtube][/youtube]
"Speed is fine accuracy is final."
-Wyatt Earp
"Great danger lies in the notion we can reason with evil."
-Winston Churchill
And the wind shall say 'Here were decent godless people'. Their only monument the asphalt road and a thousand lost golf balls.
-T.S Elliot
-Wyatt Earp
"Great danger lies in the notion we can reason with evil."
-Winston Churchill
And the wind shall say 'Here were decent godless people'. Their only monument the asphalt road and a thousand lost golf balls.
-T.S Elliot