# How to avoid the YouTube posting bug

**URL:** <https://boards.straightdope.com/t/how-to-avoid-the-youtube-posting-bug/1007499>\
**Category:** Site Feedback\
**Tags:** sdmb\_rules-and-notes\
**Created:** [September 20, 2024, 12:46am UTC](https://boards.straightdope.com/t/how-to-avoid-the-youtube-posting-bug/1007499 "2024-09-20T00:46:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Dr.Strangelove](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dr.strangelove/32/6613_2.png) [@Dr.Strangelove](https://boards.straightdope.com/u/Dr.Strangelove)\
**Post date:** [September 20, 2024, 12:46am UTC](https://boards.straightdope.com/t/how-to-avoid-the-youtube-posting-bug/1007499/1 "2024-09-20T00:46:34Z")

</div>

You’re trying to post a YouTube video, but you get a popup saying “You can’t embed media items in a post.” Here’s how to avoid that. There are a couple of minor variations.

### I haven’t written my post yet

Write your post normally but _do not_ include the YouTube link(s). When you are satisfied with the post, _hide the preview window_ (see the \<\< button in the lower-right). Then, insert the links in the desired locations. Note that the links should each appear on a line by themselves. Then post.

Are you still getting the error? Then you must perform an additional modification. Again keeping the preview window closed, append the string &1 to your link. If that doesn’t work, change it to &2. Keep incrementing until it does work. It should look something like this:  
`https://www.youtube.com/watch?v=muK6gFtv7_o&1`  
And if that doesn’t work, increment:  
`https://www.youtube.com/watch?v=muK6gFtv7_o&2`

### I’m editing my post and get the error

You will _always_ run into the bug when you edit a post containing a YouTube link. Therefore you must always use the method of appending a string. Again, hide the preview window when you are done making the text edits. Then, either append the &1 or increment the number if you have already used the method.

### I wrote my post already but didn’t know about these instructions yet, so I’m getting the error

Then it works the same as editing a post.

### I didn’t hide the preview but it worked anyway

That will happen if you are quick and hit the post button before the YouTube preview was generated. You can get away with it if you’re fast, but it’s more reliable to just hide the preview. That will always work as long as you do it _before_ you paste the link.

## Why all this crap?

It’s a bug in the forum software. You can read some of the gory details here:

> [@Have links to YouTube been disabled?](https://boards.straightdope.com/t/have-links-to-youtube-been-disabled/981958/170):
>
> I’ve seen a few links to this thread from other threads, but the information is a bit scattershot, so I think it’s worth summarizing. The bug occurs because Discourse now sees a YouTube preview–that is, the inline video as compared to a bare link–as a “media item”. We don’t allow media items on this site for cost reasons, but in this case it’s a bug because the video is hosted elsewhere. And this is new behavior. Discourse takes a few seconds to convert a bare link into a preview. That is t…

---

_[View the full topic](https://boards.straightdope.com/t/how-to-avoid-the-youtube-posting-bug/1007499)._
