embed videos like a damn pro!
This commit is contained in:
parent
8011649abc
commit
648df5a0b2
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
]
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue