diff --git a/webrtc/webrtc.php b/webrtc/webrtc.php index e142b374..d81027c8 100644 --- a/webrtc/webrtc.php +++ b/webrtc/webrtc.php @@ -2,9 +2,10 @@ /* * Name: WebRTC Application * Description: add a webrtc instance for video/audio - * Version: 1.0 + * Version: 1.1 * Author: Stephen Mahood * Author: Tobias Diekershoff + * Author: Matthias Ebers */ use Friendica\App; @@ -54,13 +55,17 @@ function webrtc_content(): string /* landingpage to create chatrooms */ $webrtcurl = DI::config()->get('webrtc','webrtcurl'); - /* embedd the landing page in an iframe */ + /* open the landing page in a new browser window without controls */ + $o .= ''; + + + $o .= '

'.DI::l10n()->t('Video Chat').'

'; $o .= '

'.DI::l10n()->t('WebRTC is a video and audio conferencing tool that works in all modern browsers. Just create a new chat room and send the link to someone you want to chat with.').'

'; if ($webrtcurl == '') { $o .= '

'.DI::l10n()->t('Please contact your friendica admin and send a reminder to configure the WebRTC addon.').'

'; - } else { - $o .= ''; } return $o;