MP4s behind the "Details" tag do not embed.

It seems like when I post MP4 links in the details tag, they do not auto-embed. I’m just curious if there’s a workaround or if it’s something that could be fixed, since I find the details tag handy for hiding large screenshot updates to make it easier to navigate the thread. Thanks!



Decided to investigate a bit. Using Chrome, for reference.

Click here to view the MP4! Your browser does not support the video tag.
  <summary>Click here to view the MP4!</summary>
  <video controls>
  <source src="" type="video/mp4">
  Your browser does not support the video tag.

It seems if I use the HTML, it works fine in an actual web page (based on this site if I paste the HTML in it), but I get the “Your browser does not support the video tag” on Discourse.

Gonna test this with a couple other browsers real quick…

e: Yep, getting the same message on Firefox and Safari. It might be the wrong direction and honestly I’m far from an expert on web development stuff, but any information may help, right?

Looks like Discourse eats the video and source tags. Take a look at the source code; they are missing.