Jump to content

Thanks for visiting BtownBanners.com!  We noticed you have AdBlock enabled.  While ads can be annoying, we utilize them to provide these forums free of charge to you!  Please consider removing your AdBlock for BtownBanners or consider signing up to donate and help BtownBanners stay alive!  Thank you!

Sign in to follow this  
Aaron

Inserting A YouTube Video Into A Post On Here

Recommended Posts

<iframe width="560" height="315" src="https://www.youtube.com/embed/3AkjV7k1RUE" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Can someone please explain how to insert a YouTube video into one of these posts? I did what would be the logical thing which is hit the HTML code on the top and then insert the Embed full screen HTML code from YouTube but you end up with the above when you try that.

Does anyone know how you insert a YouTube Video correctly into here since the logical way I have used in similar situations causes the above to happen instead?

Share this post


Link to post
Share on other sites
18 minutes ago, Aaron said:

<iframe width="560" height="315" src="https://www.youtube.com/embed/3AkjV7k1RUE" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Can someone please explain how to insert a YouTube video into one of these posts? I did what would be the logical thing which is hit the HTML code on the top and then insert the Embed full screen HTML code from YouTube but you end up with the above when you try that.

Does anyone know how you insert a YouTube Video correctly into here since the logical way I have used in similar situations causes the above to happen instead?

Use the embed, option. This menu opens when you click "Share" below a video.

Or just copy the src attribute of that video you'd like to post and it will embed into your post.

Screen Shot 2021-03-07 at 10.34.51 PM.png

Share this post


Link to post
Share on other sites
11 hours ago, kreigh8 said:

Use the embed, option. This menu opens when you click "Share" below a video.

Or just copy the src attribute of that video you'd like to post and it will embed into your post.

Screen Shot 2021-03-07 at 10.34.51 PM.png

I tried that and just end up with the code below:

<iframe width="560" height="315" src="https://www.youtube.com/embed/Hp_Eg8NMfT0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Share this post


Link to post
Share on other sites
1 minute ago, Aaron said:

I tried That and just end up with the code below:

<iframe width="560" height="315" src="https://www.youtube.com/embed/Hp_Eg8NMfT0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

You should be able to post the src attribute for that iframe. Perhaps not, I posted a Tommy Boy video last week and it worked.

 

TEST:

https://www.youtube.com/embed/Hp_Eg8NMfT0

Share this post


Link to post
Share on other sites
Just now, Aaron said:

What is the 'src attirbute'.

The iframe you posted has a series of attributes: width, height, src, frameborder, etc.. The src attribute is the same URL as the video embed from YouTube.

Share this post


Link to post
Share on other sites

@Aaron - I think I see the issue here. When you get that modal popup on YouTube - click the copy button next to the shortened URL and not the <embed> button. That <embed> option will provide you with iframe code which is not what you want.

Share this post


Link to post
Share on other sites
4 hours ago, kreigh8 said:

@Aaron - I think I see the issue here. When you get that modal popup on YouTube - click the copy button next to the shortened URL and not the <embed> button. That <embed> option will provide you with iframe code which is not what you want.

Thanks. I have always used the embed code when putting a video within a post, but apparently this board lets you do it straight with the link.

Thank you so much!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×