Commit ccae96a9 by dreamer6680 Committed by GitHub

fix iframe.js to support microphone (#4993)

Co-authored-by: dreamer6680 <146868355@qq.com>
parent 40541640
...@@ -32,7 +32,7 @@ function embedChatbot() { ...@@ -32,7 +32,7 @@ function embedChatbot() {
ChatBtnDiv.draggable = false; ChatBtnDiv.draggable = false;
const iframe = document.createElement('iframe'); const iframe = document.createElement('iframe');
iframe.allow = '*'; iframe.allow = 'microphone *; *';
iframe.referrerPolicy = 'no-referrer'; iframe.referrerPolicy = 'no-referrer';
iframe.title = 'FastGPT Chat Window'; iframe.title = 'FastGPT Chat Window';
iframe.id = chatWindowId; iframe.id = chatWindowId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment