knossos icon indicating copy to clipboard operation
knossos copied to clipboard

Cannot see YouTube embeds

Open Madis0 opened this issue 3 years ago • 4 comments

Environment

Website

Describe the bug

I cannot see YouTube embeds which were supposed to be supported in the redesign.

Steps To Reproduce

  1. Go to one of your mod's page
  2. Click Settings -> Edit
  3. Insert a YouTube embed code, such as
<iframe allowfullscreen="allowfullscreen" src="https://www.youtube.com/embed/-Exd6HXWSpc?wmode=transparent&amp;start=85" height="520" width="838" data-mce-fragment="1"></iframe>

Expected behavior

Expected to see YouTube player embedded

Additional context

Actually can only see a white iframe box and it is confirmed to be empty by the developer tools inspector image

Madis0 avatar Feb 28 '22 21:02 Madis0

Is this still an issue for you?

Minenash avatar Nov 14 '22 02:11 Minenash

Yes, can still be reproduced.

Madis0 avatar Nov 14 '22 16:11 Madis0

This can currently be manually fixed by removing all parameters. (So if you want the video to start at a certain second, that is currently not doable. But it will show up if you remove everything after the ? in the src url)

MagnusHJensen avatar Mar 11 '23 10:03 MagnusHJensen

I think someone mentioned recently on discord that one of the params for embeds was added, and that in the future it should remove the extra ones instead of not rendering it

Minenash avatar Oct 05 '23 05:10 Minenash