# Embedded youtube video has made abuse queue unusable

**URL:** https://meta.discourse.org/t/embedded-youtube-video-has-made-abuse-queue-unusable/152499
**Category:** Bug
**Created:** [May 24, 2020, 4:43am UTC](https://meta.discourse.org/t/embedded-youtube-video-has-made-abuse-queue-unusable/152499 "2020-05-24T04:43:00Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Heather\_Dudley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heather_dudley/32/151925_2.png) [@Heather\_Dudley](https://meta.discourse.org/u/Heather_Dudley)
#### Post date: [May 24, 2020, 4:43am UTC](https://meta.discourse.org/t/embedded-youtube-video-has-made-abuse-queue-unusable/152499/1 "2020-05-24T04:43:00Z")

</div>

Boy, I’m finding them this week, aren’t I?

The [review queue](https://forums.nanowrimo.org/review?sort_order=priority) on our site has been blocked by a massive render of an embedded youtube video. Currently viewing on a Chromebook, fully updated Chrome. Confirmed on Windows 10, Chrome. Also confirmed on Firefox, Windows.

Here’s the actual content of [the post](https://forums.nanowrimo.org/t/christian-teens-together-and-the-twenty-nineth-charge-of-the-rohirrim/160932/1737):

> `https://youtu.be/OTk6m3U54po`

Screenshot of the post itself (currently still hidden because I can’t clear the flag):

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/0/504281b8acd6427b3730ff76a2bf9e0cb7522a71.jpeg)

Here’s a screenshot of what I’m seeing in the queue (across at least two themes, this one was taken in the default.)

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/c/1c8e9003263503dcb66e5d502d874eaf3dd07ba8.jpeg)

This is covering at least one other post in the abuse queue because of the display problem. It looks like a post waiting on approval, but I can deal with neither post because of the grossly mis-rendered youtube screenshot. I’m going to see if I can get to the other post to approve it but will leave the problematic flag in place for your review.

Edit: Yeah, I was able to clear the other post through. Not sure if this is related or a separate issue, but after approving the queued post, the notification count cleared and a refresh showed nothing. The problematic post returned after a couple of minutes. Odd behavior but no big deal in the long run.

---

<div class="post-metadata">

### Author: ![Iceman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iceman/32/181309_2.png) [@Iceman](https://meta.discourse.org/u/Iceman)
#### Post date: [May 24, 2020, 5:51pm UTC](https://meta.discourse.org/t/embedded-youtube-video-has-made-abuse-queue-unusable/152499/2 "2020-05-24T17:51:56Z")

</div>

Yep, can confirm I had this one. (Then no longer because my oneboxes stopped working specifically for YouTube) But this happened on latest and what was considered latest 3/4 days ago.

---

<div class="post-metadata">

### Author: ![MarcIF](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcif/32/180496_2.png) [@MarcIF](https://meta.discourse.org/u/MarcIF)
#### Post date: [May 25, 2020, 12:49pm UTC](https://meta.discourse.org/t/embedded-youtube-video-has-made-abuse-queue-unusable/152499/3 "2020-05-25T12:49:19Z")

</div>

Able to reproduce this one. A small workaround is to disable the video preview by adding brackets around the YouTube link. That way you can access the review queue again to deal with the flag. However, if you want to keep the post and you remove the brackets after dealing with the flag, the video will cover the entire review queue again when opening the Review queue history.

---

<div class="post-metadata">

### Author: ![Thomas\_G](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomas_g/32/200158_2.png) [@Thomas\_G](https://meta.discourse.org/u/Thomas_G)
#### Post date: [May 25, 2020, 1:10pm UTC](https://meta.discourse.org/t/embedded-youtube-video-has-made-abuse-queue-unusable/152499/4 "2020-05-25T13:10:46Z")

</div>

Something similar also happens when checking the `Edit History` :

* * *

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/3/330a484dca57a754d302407539487b6c42edb042.jpeg)

* * *

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/4/84ecfca6a99c4042cae2001276417d468939b670.jpeg)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 25, 2020, 5:15pm UTC](https://meta.discourse.org/t/embedded-youtube-video-has-made-abuse-queue-unusable/152499/5 "2020-05-25T17:15:16Z")

</div>

This is trivially fixable with css, either locally via f12 or via admin, customize.

---

<div class="post-metadata">

### Author: ![ClawdiaWolf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clawdiawolf/32/262518_2.png) [@ClawdiaWolf](https://meta.discourse.org/u/ClawdiaWolf)
#### Post date: [May 25, 2020, 5:24pm UTC](https://meta.discourse.org/t/embedded-youtube-video-has-made-abuse-queue-unusable/152499/6 "2020-05-25T17:24:18Z")

</div>

This css in [https://github.com/discourse/discourse/blob/master/plugins/lazy-yt/assets/stylesheets/lazyYT.css](https://github.com/discourse/discourse/blob/master/plugins/lazy-yt/assets/stylesheets/lazyYT.css) appears to be the culprit.

```css
.ytp-thumbnail-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

```

The onebox div that would restrict the dimensions is missing the `lazyYT-container` class on the review queue and edit history screens changing the meaning of 100% for those instances.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [May 25, 2020, 5:31pm UTC](https://meta.discourse.org/t/embedded-youtube-video-has-made-abuse-queue-unusable/152499/7 "2020-05-25T17:31:02Z")

</div>

This clause is being stripped from the `lazyYT-container` in the review queue:

`style="width: 480px; padding-bottom: 270px;"`

Edit: Formatting is also broken in `nojs` view.

EDIT: PR submitted with the fix that @ClawdiaWolf pointed out.

[https://github.com/discourse/discourse/pull/9870](https://github.com/discourse/discourse/pull/9870)

---

<div class="post-metadata">

### Author: ![travelvc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/travelvc/32/82090_2.png) [@travelvc](https://meta.discourse.org/u/travelvc)
#### Post date: [May 29, 2020, 1:59am UTC](https://meta.discourse.org/t/embedded-youtube-video-has-made-abuse-queue-unusable/152499/9 "2020-05-29T01:59:25Z")

</div>

Could be related issue, but I noticed after upgrading to 2.5.0.beta4 that embedded YouTube videos in posts no longer have a lazyYT container that I can target to make my videos responsive.

I had been using the following CSS:

```
.lazyYT {
    height: 0 !important;
    width: 100% !important;
    padding-bottom: 56.25% !important;
} 

```

Now this CSS doesn’t work.

If this issue is related, please let me know.

---

<div class="post-metadata">

### Author: ![travelvc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/travelvc/32/82090_2.png) [@travelvc](https://meta.discourse.org/u/travelvc)
#### Post date: [May 29, 2020, 9:26am UTC](https://meta.discourse.org/t/embedded-youtube-video-has-made-abuse-queue-unusable/152499/10 "2020-05-29T09:26:20Z")

</div>

> [@travelvc](#):
>
> Could be related issue, but I noticed after upgrading to 2.5.0.beta4 that embedded YouTube videos in posts no longer have a lazyYT container that I can target to make my videos responsive.

**False alarm, it’s unrelated.**

I discovered the cause was that a YouTube link with a list (?list=) caused the lazyYT container not to display. I simply edited the link in the member’s post.

_Example: this [video link](https://www.youtube.com/watch?v=a08kcgKMNYQ) works, however [this video link](https://www.youtube.com/watch?list=PLiheGfSy3neG0ezuqJLs15ervmJi886Kd&v=a08kcgKMNYQ) (same video) doesn’t create a YT container._

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [May 29, 2020, 9:35am UTC](https://meta.discourse.org/t/embedded-youtube-video-has-made-abuse-queue-unusable/152499/11 "2020-05-29T09:35:41Z")

</div>

Yes, we’re aware of this issue and will get it resolved ASAP. You can track progress here:

> [@Add thumbnails for YouTube playlist URLs](https://meta.discourse.org/t/no-thumbnail-for-youtube-playlist-urls/152431):
>
> On latest tests-passed branch, topics with a bare YouTube playlist URL are OneBoxing correctly, but no thumbnail is produced. An example: [https://www.youtube.com/playlist?list=PLJtitKU0CAeiFIQUX81qqt4laVWfa-Gtz](https://www.youtube.com/playlist?list=PLJtitKU0CAeiFIQUX81qqt4laVWfa-Gtz) A related question, is it possible to rebake only posts that have no thumbail? i.e. a version of rake posts:rebake that includes a query?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 30, 2020, 4:34pm UTC](https://meta.discourse.org/t/embedded-youtube-video-has-made-abuse-queue-unusable/152499/12 "2020-05-30T16:34:03Z")

</div>


