Embedding YouTube Videos In FanShots And FanPosts

Over the past couple of weeks, I've noticed an influx of emails to our Support inbox (support@sbnation.com) mentioning difficulty embedding YouTube videos in FanPosts and FanShots. This is happening because YouTube has switched their standard embed code to include iframes, which we currently strip out of FanPosts and FanShots. 

We are in the process of changing that process so that iframes are not stripped, but in the meantime, there is a workaround. Step-by-step screenshots using the awesome video here are posted after the jump.

It's important to note that this does not affect the URL import of videos into FanPosts. If you use that feature to import YouTube videos into FanPosts, you've likely not even noticed this issue.

First, as usual, click "Embed" beneath the video.

Embed_medium

When the embed code opens inline, you'll notice iframes in the embed code. Be sure to check the "Use old embed code" checkbox.

Iframe_medium

Once you check the box, you'll notice the updated embed code is back to the classic code. This will work in our editor.

Object_medium

This leaves us with a perfectly embedded video:

Trending Discussions

X
Log In Sign Up

forgot?
Log In Sign Up

Please choose a new SB Nation username and password

As part of the new SB Nation launch, prior users will need to choose a permanent username, along with a new password.

Your username will be used to login to SB Nation going forward.

I already have a Vox Media account!

Verify Vox Media account

Please login to your Vox Media account. This account will be linked to your previously existing Eater account.

Please choose a new SB Nation username and password

As part of the new SB Nation launch, prior MT authors will need to choose a new username and password.

Your username will be used to login to SB Nation going forward.

Forgot password?

We'll email you a reset link.

If you signed up using a 3rd party account like Facebook or Twitter, please login with it instead.

Forgot password?

Try another email?

Almost done,

By becoming a registered user, you are also agreeing to our Terms and confirming that you have read our Privacy Policy.

Join Blog Huddle

You must be a member of Blog Huddle to participate.

We have our own Community Guidelines at Blog Huddle. You should read them.

Join Blog Huddle

You must be a member of Blog Huddle to participate.

We have our own Community Guidelines at Blog Huddle. You should read them.

Spinner.vc97ec6e

Authenticating

Great!

Choose an available username to complete sign up.

In order to provide our users with a better overall experience, we ask for more information from Facebook when using it to login so that we can learn more about our audience and provide you with the best possible experience. We do not store specific user data and the sharing of it is not required to login with Facebook.