import React from 'react'; import { WithTranslation } from 'react-i18next'; import { connect } from 'react-redux'; import { IState } from '../../app/types'; import CopyButton from '../../base/buttons/CopyButton'; import { getInviteURL } from '../../base/connection/functions'; import { translate } from '../../base/i18n/functions'; import Dialog from '../../base/ui/components/web/Dialog'; interface Props extends WithTranslation { /** * The URL of the conference. */ url: string; } /** * Allow users to embed a jitsi meeting in an iframe. * * @returns {React$Element} */ function EmbedMeeting({ t, url }: Props) { /** * Get the embed code for a jitsi meeting. * * @returns {string} The iframe embed code. */ const getEmbedCode = () => `'; return (