Voice typing doesn't work in Chrome when file is embedded through iframe

As the title suggests, voice typing only works on the URL generated after sharing document on Kami’s server. When I embed the document on another page and access the voice typing functionality through the iframe, microphone cannot be detected, even though I have added [allow=“microphone;”] to the embed code. ANY solution to this ? Thank you for reading.