diff --git a/templates/chat.html b/templates/chat.html index 3ac04a3..b7168bc 100644 --- a/templates/chat.html +++ b/templates/chat.html @@ -67,11 +67,11 @@ const VALID_VOICES = ['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer']; // Configuration for DOMPurify to specify which tags and attributes are allowed const dompurify_config = { - ADD_TAGS: ["iframe", "img"], + ADD_TAGS: ["iframe", "img", "video"], FORBID_TAGS: ["form"], ALLOWED_ATTR: [ "src", "width", "height", "frameborder", "allowfullscreen", - "alt", "class", "title", "style" + "alt", "class", "title", "style", "controls", ] };