diff --git a/pageheader/pageheader.css b/pageheader/pageheader.css index 8b3282fb..f6c28fbf 100644 --- a/pageheader/pageheader.css +++ b/pageheader/pageheader.css @@ -20,4 +20,9 @@ width: 100%; margin-top: 25px; font-size: 20px; + /* The pageheader box */ + padding: 20px; + border: 1px solid transparent; + border-radius: 2px; + margin-bottom: 15px; } diff --git a/webrtc/webrtc.php b/webrtc/webrtc.php index e142b374..993f984f 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,15 @@ 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;