diff --git a/bigbluebutton-client/.actionScriptProperties b/bigbluebutton-client/.actionScriptProperties index f961238f3d..24eb9b3807 100755 --- a/bigbluebutton-client/.actionScriptProperties +++ b/bigbluebutton-client/.actionScriptProperties @@ -15,6 +15,7 @@ + diff --git a/bigbluebutton-client/branding/default/style/css/BBBDefault.css b/bigbluebutton-client/branding/default/style/css/BBBDefault.css index d67999954d..44862eb493 100755 --- a/bigbluebutton-client/branding/default/style/css/BBBDefault.css +++ b/bigbluebutton-client/branding/default/style/css/BBBDefault.css @@ -512,7 +512,7 @@ TitleWindow { } .chromeJavaHelpImage { - imageSource: Embed(source='assets/images/chromePluginBlocked.png'); + imageSource: Embed(source='assets/images/jnlp-run-chrome.png'); } .webcamSettingsWindowTitleStyle, .micSettingsWindowTitleStyle { diff --git a/bigbluebutton-client/branding/default/style/css/assets/images/jnlp-run-chrome.png b/bigbluebutton-client/branding/default/style/css/assets/images/jnlp-run-chrome.png new file mode 100644 index 0000000000..33ab2ac408 Binary files /dev/null and b/bigbluebutton-client/branding/default/style/css/assets/images/jnlp-run-chrome.png differ diff --git a/bigbluebutton-client/build.xml b/bigbluebutton-client/build.xml index e1358dec71..ecddec11d3 100755 --- a/bigbluebutton-client/build.xml +++ b/bigbluebutton-client/build.xml @@ -25,6 +25,8 @@ + + @@ -217,7 +219,17 @@ - + + + + + + + + + + + @@ -250,6 +262,11 @@ + + + + + @@ -283,7 +300,7 @@ @@ -384,7 +401,12 @@ description="Compiling standalone desktop sharing"> - + + + + + @@ -505,14 +527,17 @@ - - - diff --git a/bigbluebutton-client/locale/en_US/bbbResources.properties b/bigbluebutton-client/locale/en_US/bbbResources.properties index e190ea76da..3316378b4a 100755 --- a/bigbluebutton-client/locale/en_US/bbbResources.properties +++ b/bigbluebutton-client/locale/en_US/bbbResources.properties @@ -280,6 +280,28 @@ bbb.video.publish.closeBtn.accessName = Close the webcam settings dialog box bbb.video.publish.closeBtn.label = Cancel bbb.video.publish.titleBar = Publish Webcam Window bbb.video.streamClose.toolTip = Close stream for: {0} +bbb.screensharePublish.title = Desktop Sharing: Presenter's Preview +bbb.screensharePublish.fullscreen.tooltip = Share Your Main Screen +bbb.screensharePublish.fullscreen.label = Full Screen +bbb.screensharePublish.region.tooltip = Share a Part of Your Screen +bbb.screensharePublish.region.label = Region +bbb.screensharePublish.stop.tooltip = Close screen share +bbb.screensharePublish.stop.label = Close +bbb.screensharePublish.maximizeRestoreBtn.toolTip = You cannot maximize this window. +bbb.screensharePublish.closeBtn.toolTip = Stop Sharing and Close +bbb.screensharePublish.chromeOnMacUnsupportedHint = Desktop sharing is not currently supported on Chrome running under Mac OS X. Recommend you use FireFox to share desktop. +bbb.screensharePublish.minimizeBtn.toolTip = Minimize +bbb.screensharePublish.minimizeBtn.accessibilityName = Minimize the Desktop Sharing Publish Window +bbb.screensharePublish.maximizeRestoreBtn.accessibilityName = Maximize the Desktop Sharing Publish Window +bbb.screensharePublish.chromeHint.title = Chrome needs your permission to run the application. +bbb.screensharePublish.chromeHint.message = Click Keep button to save the file then click the file to run the application. +bbb.screensharePublish.chromeHint.button = Retry +bbb.screenshareView.title = Desktop Sharing +bbb.screenshareView.fitToWindow = Fit to Window +bbb.screenshareView.actualSize = Display actual size +bbb.screenshareView.minimizeBtn.accessibilityName = Minimize the Desktop Sharing View Window +bbb.screenshareView.maximizeRestoreBtn.accessibilityName = Maximize the Desktop Sharing View Window +bbb.screenshareView.closeBtn.accessibilityName = Close the Desktop Sharing View Window bbb.desktopPublish.title = Desktop Sharing: Presenter's Preview bbb.desktopPublish.fullscreen.tooltip = Share Your Main Screen bbb.desktopPublish.fullscreen.label = Full Screen diff --git a/bigbluebutton-client/resources/config.xml.template b/bigbluebutton-client/resources/config.xml.template index 82ce7a363c..f2df5d4c5a 100755 --- a/bigbluebutton-client/resources/config.xml.template +++ b/bigbluebutton-client/resources/config.xml.template @@ -53,6 +53,15 @@ baseTabIndex="201" /> + + + diff --git a/bigbluebutton-client/resources/prod/ScreenshareStandalone.html b/bigbluebutton-client/resources/prod/ScreenshareStandalone.html new file mode 100755 index 0000000000..cb5c9f48c2 --- /dev/null +++ b/bigbluebutton-client/resources/prod/ScreenshareStandalone.html @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + Get Adobe Flash player + + + + + +
+ + diff --git a/bigbluebutton-client/resources/prod/lib/bbb_screenshare.js b/bigbluebutton-client/resources/prod/lib/bbb_screenshare.js new file mode 100644 index 0000000000..3797ed239c --- /dev/null +++ b/bigbluebutton-client/resources/prod/lib/bbb_screenshare.js @@ -0,0 +1,27 @@ +function startScreensharing(jnlp, meetingId, authToken, fullScreen) +{ + console.log("Starting JSW [" + authToken + "]"); + var launchuri = jnlp + "?authToken=" + authToken + "&fullScreen=" + fullScreen + "&meetingId=" + meetingId; + + $('