- $o .= '<p>FIXME some short information for the enduser what to do. Best surrounded in a <code>t()</code> call so the text can be translated.</p>';
- $o .= '<iframe src="'.$webrtcurl.'" width="600px" height="600px"></iframe>';
+ $o .= '<p>'.t('WebRTC is a video and audio conferencing tool that works with Firefox (version 21 and above) and Chrome/Chromium (version 25 and above). Just create a new chat room and send the link to someone you want to chat with.').'</p>';
+ if ($webrtcurl == '') {
+ $o .= '<p>'.t('Please contact your friendica admin and send a reminder to configure the WebRTC addon.').'</p>';
+ } else {
+ $o .= '<iframe src="'.$webrtcurl.'" width="600px" height="600px"></iframe>';
+ }
+