Skip to content

(bug): Youtube videos showing black screen on comments embed

Summary

Youtube rich embeds showing black.

Steps to reproduce

Notice the top link shows no preview, the bottom one does.

To show this on site, post a rich embed video to a comment and see the black screen.

Platform information

Replicated Chromium / Ubuntu suspect cross platform web.

What is the current bug behavior?

Black iframe

What is the expected correct behavior?

Preview should be there.

Relevant logs and/or screenshots

image

Possible fixes

I believe this issue is on YTs end, as it seems with the querystring its returning no preview, off our site. Maybe we need to change something about how we interface with the links (depreciation) but I suspect its something YT will resolve.

@edgebal found a potential fix. We need to change our embed url to pass in a query parameter of controls=1 instead of 2 because youtube changed their api

Edited by Brian Hatchet