Start a new topic

<video> tag does not show properly

When trying to use the `<video>` tag in a post, the served HTML is broken due to the `<source>` tag and all HTML attributes being removed. For example, [this post](


Post contents:

<div style="border: dashed 1px blue">
  <video controls>
    <source src="" type="video/mp4">
    video control not supported

 Rendered HTML:

<div style="border: 1px dashed blue;">
    video control not supported

I've also tried using a `<video src="...">` style video, but still see all the tag attributes stripped out.

Unless videos are specifically banned from use, I would expect to see the HTML replicated 1:1 (though perhaps with the `muted` attribute set).

Tested on Chrome (Windows 11) Version 107.0.5304.107 (Official Build) (64-bit)

2 people have this problem
Login or Signup to post a comment