American Air Arms

Air Gun Stocks

Pacific Airgun Expo

predator-pellets

Neil Clague Air Strippers, Shrouds and LDCs />
					</a>
				</h3>
			</div>
			<div>
				<h3>
					<a href= windmeister-ad

Wicked Air Rifles - Flex

Marmot Militia Machine Works

Author Topic: How to Embed Youtube Videos  (Read 586 times)

steveoh

  • Administrator
  • Sr. Member
  • *****
  • Posts: 389
    • View Profile
    • Airgun FPE Calculator
How to Embed Youtube Videos
« on: July 24, 2016, 11:15:11 AM »
How to embed Youtube Video in a post using bbcode:

1. Get the youtube embed code from the video you want to share. You will need to use a desktop computer as Youtube does not show this code on Mobile Devices.

2.Paste that URL in the post,
Code: [Select]
https://www.youtube.com/embed/FH-Jk_IdF9Y and it should now magically work.

3. If you can see the following video, then it worked:

« Last Edit: December 06, 2016, 07:14:15 PM by steveoh »


  • Benicia, California
Quackenbush .58 Outlaw
Sam Yang 909s .45
Sam Yang Sumatra .25
RWS Diana 350Magnum Compact Pro .22
QB-79 .177
Crosman 1322
Crosman 1377 - HoRodded 10 FPE
Diana Model 27 (childhood airgun)
Tolman Skiff
Free Trump Target

nervoustrigger

  • Newbie
  • *
  • Posts: 33
  • The grin reaper
    • View Profile
Re: How to Embed Youtube Videos
« Reply #1 on: December 05, 2016, 09:18:48 PM »
Steve, it's not working for me for some reason.  I inserted this code in a reply:

Code: [Select]
[html]<iframe width="560" height="315" src="[youtube]hkvblVB1zzI[/youtube] frameborder="0" allowfullscreen></iframe>[/html]
but it simply shows up as the text without the html tags:
Code: [Select]
<iframe width="560" height="315" src="[youtube]hkvblVB1zzI[/youtube] frameborder="0" allowfullscreen></iframe>
I can see the video you embedded, and if I quote your reply, I can see the code you used is in fact the same so I'm not sure why it's not working for me.
  • MS

steveoh

  • Administrator
  • Sr. Member
  • *****
  • Posts: 389
    • View Profile
    • Airgun FPE Calculator
Re: How to Embed Youtube Videos
« Reply #2 on: December 06, 2016, 11:53:28 AM »
Strange, it appears to be a permissions issue, though I don't know why. Investigating.
  • Benicia, California
Quackenbush .58 Outlaw
Sam Yang 909s .45
Sam Yang Sumatra .25
RWS Diana 350Magnum Compact Pro .22
QB-79 .177
Crosman 1322
Crosman 1377 - HoRodded 10 FPE
Diana Model 27 (childhood airgun)
Tolman Skiff
Free Trump Target

guldam

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: How to Embed Youtube Videos
« Reply #3 on: December 06, 2016, 11:55:40 AM »
/>
« Last Edit: December 06, 2016, 07:14:46 PM by steveoh »

nervoustrigger

  • Newbie
  • *
  • Posts: 33
  • The grin reaper
    • View Profile
Re: How to Embed Youtube Videos
« Reply #4 on: December 06, 2016, 11:58:41 AM »
Awesome, thanks for looking into it!  I much prefer it to be permissions rather than incompetence  ;D
  • MS

steveoh

  • Administrator
  • Sr. Member
  • *****
  • Posts: 389
    • View Profile
    • Airgun FPE Calculator
Re: How to Embed Youtube Videos
« Reply #5 on: December 06, 2016, 12:05:01 PM »
Ok,it's me.  I could have sworn I logged in as a normal user to try embedding. Out of the box SMF allows only Admins to embed iFrames.

I'll need to install a mod to allow this. It's risky, and this is why they require a mod. Will do this asap, and just keep an eye out...
  • Benicia, California
Quackenbush .58 Outlaw
Sam Yang 909s .45
Sam Yang Sumatra .25
RWS Diana 350Magnum Compact Pro .22
QB-79 .177
Crosman 1322
Crosman 1377 - HoRodded 10 FPE
Diana Model 27 (childhood airgun)
Tolman Skiff
Free Trump Target

Alan

  • Hero Member
  • *****
  • Posts: 894
  • Set the example... Don't be one!
    • View Profile
    • Mobile Amateur Radio
Re: How to Embed Youtube Videos
« Reply #6 on: December 06, 2016, 12:14:39 PM »
I suppose some folks would like to have the video appear in the same window as the Guild. But for my money, it just doesn't matter!
  • Roswell, New Mexico
Alan

I have an Omega compressor. If you're a fellow Guild member, and you pass through Roswell, NM, I'll fill your portable tank as a courtesy.

guldam

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: How to Embed Youtube Videos
« Reply #7 on: December 06, 2016, 12:17:04 PM »
Mod installed. Click on YouTube Icon, and paste in your embed code, and now we should all be able to post YouTube Videos.

Will change the how to Sticky when I get another moment...


nervoustrigger

  • Newbie
  • *
  • Posts: 33
  • The grin reaper
    • View Profile
Re: How to Embed Youtube Videos
« Reply #8 on: December 06, 2016, 02:02:35 PM »
Very nice!  Thank you, sir!

I stepped over to edit a post I made last night and found my video was magically showing up embedded. 

http://airgunguild.com/general-airgun-discussion/are-cheap-pellets-worth-it/msg12898/#msg12898

I see none of the tags around it when I click the Edit button, just a plain http link.  So maybe something you changed causes all youtube videos to embed now?

Let's see....plain http link:
/>
Wrapped in youtube tags:

Yep, both methods are resulted in an embedded video.  Not  having to wrap it is convenient...except for someone who just wants to display a link.
« Last Edit: December 06, 2016, 02:06:50 PM by nervoustrigger »
  • MS

steveoh

  • Administrator
  • Sr. Member
  • *****
  • Posts: 389
    • View Profile
    • Airgun FPE Calculator
Re: How to Embed Youtube Videos
« Reply #9 on: December 06, 2016, 07:16:44 PM »
Sorry, after doing all the posting, I selected an option to magically embed a youtube url. Then got called away to work... and promptly forgot to go back and check.

Sooooo we can now just paste a url:
Code: [Select]
https://www.youtube.com/embed/FH-Jk_IdF9Y and we should now be seeing youtube videos.

Sorry!
  • Benicia, California
Quackenbush .58 Outlaw
Sam Yang 909s .45
Sam Yang Sumatra .25
RWS Diana 350Magnum Compact Pro .22
QB-79 .177
Crosman 1322
Crosman 1377 - HoRodded 10 FPE
Diana Model 27 (childhood airgun)
Tolman Skiff
Free Trump Target

Alan

  • Hero Member
  • *****
  • Posts: 894
  • Set the example... Don't be one!
    • View Profile
    • Mobile Amateur Radio
Re: How to Embed Youtube Videos
« Reply #10 on: December 07, 2016, 07:32:59 AM »
Let me see.....


  • Roswell, New Mexico
Alan

I have an Omega compressor. If you're a fellow Guild member, and you pass through Roswell, NM, I'll fill your portable tank as a courtesy.

Monkeydad1969

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1625
    • View Profile
Re: How to Embed Youtube Videos
« Reply #11 on: December 07, 2016, 09:10:23 PM »
Looks like it works.  Nice shot Alan.

Joe
  • Aurora, Colorado
Joe the P-Dawg Slayer!!!!!