Embedded videos in articles autoplay even when configured not toDescription Autostart and autoplay attributes on a video embed element are stripped off even after adding them into the 'HTMLSanitizerConfig' Script Include and the 'HTMLSanitizerConfig' system property. Steps to Reproduce Modify the HTMLSanitizerConfig script include by adding the following:embed:{attribute:["src","type","allowfullscreen","allowscriptacces","plugnspage","autoplay","autostart"]},object:{attribute:["classid","codebase"]},param:{attribute:["name","value"]}2. Modify the system property glide.ui.html.editor.extended_valid_elements by adding the following:a[onclick|href|target|rel|media|hreflang|type|charset|name|rev|shape|coords|download|id|accesskey|class|dir|land|style|tabindex|title|autoplay|autostart],embed[autoplay|autostart]3. Embed a video from the [db_video] table using the edit/insert button in an article body HTML field.4. Click the "source code" button (<>) on the TinyMCE toolbar. The generated code should look something like:<p><object classid="clsid:na"><param name="movie" value="netlfx-intro.mp4x" /><param name="src" value="netlfx-intro.mp4x" /><param name="allowfullscreen" value="false" /><param name="allowscriptaccess" value="sameDomain" /><embed src="netlfx-intro.mp4x" type="video/mp4" /></object></p><p></p>5. Add autoplay="false" to the embed tag.6. Click the "ok" button.7. Click again the "source code" button. Notice the generated code does not have the autoplay attribute. The TinyMCE editor is stripping out the autoplay attribute, so the video will start when loading the article, without manually starting it. Workaround After carefully considering the severity and frequency of the issue, and the cost and risk of attempting a fix, it has been decided to not address this issue in any current or near future releases. We do not make these decisions lightly, and we apologize for any inconvenience. When the property glide.ui.html.editor.extended_valid_elements is modifield to 'embed[src|type|height|width|allowfullscreen|allowscriptaccess|pluginspage|autoplay|autostart]'and the article body gets the autoplay attribute added, this is preserved in the source code rendering as autoplay="autoplay". It should be noted that autoplay is a boolean attribute, and even setting autoplay="false" would not be valid. The attribute would need to be entirely omitted to prevent autoplay.Ref.: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/videoInspecting the article page source after clicking "View article", the <embed> tag is rendered into a <video> tag that always has autoplay. This is UI code not part of the HTMLSanitizer, which does appear to be leaving the embed tags and attributes alone. Related Problem: PRB1296993