fix(embed): remove legacy attribute from embed meeting code

This commit is contained in:
Manuel Garcia
2020-09-17 03:11:41 -04:00
committed by GitHub
parent 2c026754ef
commit ab21e3cd5e

View File

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