feat(embed-meeting) add autoplay permission to iframe sample

This commit is contained in:
Saúl Ibarra Corretgé 2021-02-09 14:26:32 +01:00 committed by Дамян Минков
parent bca9a12df1
commit 579acbc570
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ function EmbedMeeting({ t, url }: Props) {
* @returns {string} The iframe embed code.
*/
const getEmbedCode = () =>
`<iframe allow="camera; microphone; fullscreen; display-capture" src="${url}"`
`<iframe allow="camera; microphone; fullscreen; display-capture; autoplay" src="${url}"`
+ ' style="height: 100%; width: 100%; border: 0px;"></iframe>';
return (