Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Saúl Ibarra Corretgé579acbc57064
diff --git a/react/features/embed-meeting/components/EmbedMeetingDialog.js b/react/features/embed-meeting/components/EmbedMeetingDialog.js
index 0943c8ce34..43cf64aa10 100644
--- a/react/features/embed-meeting/components/EmbedMeetingDialog.js
+++ b/react/features/embed-meeting/components/EmbedMeetingDialog.js
@@ -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 (