// @flow import React from 'react'; import { connect } from 'react-redux'; import CopyButton from '../../base/buttons/CopyButton'; import { getInviteURL } from '../../base/connection'; import { Dialog } from '../../base/dialog'; import { translate } from '../../base/i18n'; type Props = { /** * Invoked to obtain translated strings. */ t: Function, /** * 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 (