Embeds from YouTube now say "Video unavailable" when you press play

Description

Steps to reproduce

  1. Log in

  2. Post > New Work

  3. Fill in required information

  4. In the work content, paste the embed code for a YouTube video, e.g. <iframe width="560" height="315" src="https://www.youtube.com/embed/yPQfcG-eimk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

  5. Post

What happens

If you click play on the video, it says the video is unavailable. If you go to edit the work, you'll see the embed code now looks like <iframe width="560" height="315" src="https://www.youtube.com/embed/yPQfcG-eimk" frameborder="0" allowfullscreen=""></iframe>

What should happen

We should allow through whatever code is necessary to get the video to play.

Environment

None

Status

Assignee

Unassigned

Reporter

Sarken

Roadmap

Works

Priority

High

Affects versions

Fix versions

Components

BackEnd

Difficulty

Medium

Required Access Level

None

Milestone

Internal 0.9
Configure