fix iframe.js to support microphone (#4993)

Co-authored-by: dreamer6680 <146868355@qq.com>
This commit is contained in:
dreamer6680
2025-06-10 16:30:25 +08:00
committed by GitHub
parent 4054164017
commit ccae96a981

View File

@@ -32,7 +32,7 @@ function embedChatbot() {
ChatBtnDiv.draggable = false;
const iframe = document.createElement('iframe');
iframe.allow = '*';
iframe.allow = 'microphone *; *';
iframe.referrerPolicy = 'no-referrer';
iframe.title = 'FastGPT Chat Window';
iframe.id = chatWindowId;