diff --git a/bbb-api-demo/src/main/webapp/create.jsp b/bbb-api-demo/src/main/webapp/create.jsp old mode 100755 new mode 100644 index 523c1a95cb2bc1d87fc6aef7e1cdd816459bee58..01be4a3e9707c8939060966e0bf4ee303169d3a7 --- a/bbb-api-demo/src/main/webapp/create.jsp +++ b/bbb-api-demo/src/main/webapp/create.jsp @@ -277,7 +277,7 @@ function mycallback() { // the meeting was created. String joinURL = getJoinURLViewer(request.getParameter("username"), request.getParameter("meetingID")); - if (joinURL.startsWith("http://")) { + if (joinURL.startsWith("http://") || joinURL.startsWith("https://")) { %> <script language="javascript" type="text/javascript"> diff --git a/bbb-api-demo/src/main/webapp/demo1.jsp b/bbb-api-demo/src/main/webapp/demo1.jsp old mode 100755 new mode 100644 index ed0c3e15cd0a6c7045f5d6a68af74997605d044a..0f95336218e195801c5dab3608213b16c6207d54 --- a/bbb-api-demo/src/main/webapp/demo1.jsp +++ b/bbb-api-demo/src/main/webapp/demo1.jsp @@ -90,7 +90,7 @@ if (request.getParameterMap().isEmpty()) { String joinURL = getJoinURL(request.getParameter("username"), "Demo Meeting", "false", null, null, null); - if (joinURL.startsWith("http://")) { + if (joinURL.startsWith("http://") || joinURL.startsWith("https://")) { %> <script language="javascript" type="text/javascript"> diff --git a/bbb-api-demo/src/main/webapp/demo10.jsp b/bbb-api-demo/src/main/webapp/demo10.jsp old mode 100755 new mode 100644 index df7b6b46902f111fe3e02a0798d0064027d822f7..dfcad3892b39b525819a276484b8d83c2dabaefe --- a/bbb-api-demo/src/main/webapp/demo10.jsp +++ b/bbb-api-demo/src/main/webapp/demo10.jsp @@ -265,7 +265,7 @@ with BigBlueButton; if not, If not, see <http://www.gnu.org/licenses/>. // String welcomeMsg = "<br>Welcome to %%CONFNAME%%!<br><br>For help see our <a href=\"event:http://www.bigbluebutton.org/content/videos\"><u>tutorial videos</u></a>.<br><br>To join the voice bridge for this meeting click the headset icon in the upper-left <b>(you can mute yourself in the Listeners window)</b>.<br><br>This meeting is being recorded."; String joinURL = getJoinURL(username, meetingID, "true", welcomeMsg, metadata, null); - if (joinURL.startsWith("http://")) { + if (joinURL.startsWith("http://") || joinURL.startsWith("https://")) { %> <script language="javascript" type="text/javascript"> window.location.href="<%=joinURL%>"; diff --git a/bbb-api-demo/src/main/webapp/demo11.jsp b/bbb-api-demo/src/main/webapp/demo11.jsp index de2850ba0dbc4092eb06a23e44223cbf5d80e60f..49f7a8f206640254429cde35cb6a5337e591a466 100644 --- a/bbb-api-demo/src/main/webapp/demo11.jsp +++ b/bbb-api-demo/src/main/webapp/demo11.jsp @@ -97,11 +97,11 @@ if (request.getParameterMap().isEmpty()) { String joinURL = getJoinMeetingURL(request.getParameter("username"), "Demo Meeting", "mp", clientURL ); - if (joinURL.startsWith("http://")) { + if (joinURL.startsWith("http://") || joinURL.startsWith("https://")) { %> <script language="javascript" type="text/javascript"> - window.location.href="<%=joinURL%>"; + window.location.href="<%=joinURL%>"; </script> <% diff --git a/bbb-api-demo/src/main/webapp/demo12.jsp b/bbb-api-demo/src/main/webapp/demo12.jsp old mode 100755 new mode 100644 index 6ae8a4bf3a0506b24cbefea11c9ddaebe8832d24..67e870dc9b3c333b64e6a193d5ace93f5cbcdbb7 --- a/bbb-api-demo/src/main/webapp/demo12.jsp +++ b/bbb-api-demo/src/main/webapp/demo12.jsp @@ -160,7 +160,7 @@ Author: Jesus Federico <jesus@123it.ca> //Set skin Element skinElement = (Element) doc.getElementsByTagName("skinning").item(0); - skinElement.setAttribute("url", "http://" + getBigBlueButtonIP() + "/client/branding/css/" + param_Skin + ".css.swf" ); + skinElement.setAttribute("url", "https://" + getBigBlueButtonIP() + "/client/branding/css/" + param_Skin + ".css.swf" ); //Set layout Element layoutElement = (Element) doc.getElementsByTagName("layout").item(0); @@ -210,7 +210,7 @@ Author: Jesus Federico <jesus@123it.ca> String url = BigBlueButtonURL.replace("bigbluebutton/","demo/"); String joinURL = getJoinURLwithDynamicConfigXML(username, confname, configXML); - if (joinURL.startsWith("http://")) { + if (joinURL.startsWith("https://") || joinURL.startsWith("https://")) { %> <h2>Customized sessions using a dynamic config.xml, submit</h2> diff --git a/bbb-api-demo/src/main/webapp/demo2.jsp b/bbb-api-demo/src/main/webapp/demo2.jsp old mode 100755 new mode 100644 index 0eecdf5f243184eab739f1b58beb03dc0344879b..d441990571e2fc8a34f1b896581fe6620a28e622 --- a/bbb-api-demo/src/main/webapp/demo2.jsp +++ b/bbb-api-demo/src/main/webapp/demo2.jsp @@ -110,7 +110,7 @@ Author: Fred Dixon <ffdixon@bigbluebutton.org> // String joinURL = getJoinURL(username, meetingID, "false", "<br>Welcome to course: %%CONFNAME%%.<br>", null, preUploadPDF ); String joinURL = getJoinURL(username, meetingID, "false", null, null, null ); - if (joinURL.startsWith("http://")) { + if (joinURL.startsWith("http://") || joinURL.startsWith("https://")) { %> <script language="javascript" type="text/javascript"> diff --git a/bbb-api-demo/src/main/webapp/demo6.jsp b/bbb-api-demo/src/main/webapp/demo6.jsp old mode 100755 new mode 100644 index 3cd5ec9f04a2dec04a8165bd18718fc5dbbdd4d4..7a094550aa8b48ba6b389b068e77a6cfc6b34625 --- a/bbb-api-demo/src/main/webapp/demo6.jsp +++ b/bbb-api-demo/src/main/webapp/demo6.jsp @@ -144,7 +144,7 @@ Author: Fred Dixon <ffdixon@bigbluebutton.org> String preUploadPDF = "<?xml version='1.0' encoding='UTF-8'?><modules><module name='presentation'><document url='"+url+"pdfs/matterhorn.pdf'/></module></modules>"; String joinURL = getJoinURL(username, confname, "true", null, metadata, preUploadPDF); - if (joinURL.startsWith("http://")) { + if (joinURL.startsWith("http://") || joinURL.startsWith("https://")) { %> <script language="javascript" type="text/javascript"> diff --git a/bbb-api-demo/src/main/webapp/demo7.jsp b/bbb-api-demo/src/main/webapp/demo7.jsp old mode 100755 new mode 100644 index 123ee2421bdfd39498b725befac167ffd4d9df66..5e5f6046dbd36d12cd4c68959d89925cec8207da --- a/bbb-api-demo/src/main/webapp/demo7.jsp +++ b/bbb-api-demo/src/main/webapp/demo7.jsp @@ -101,7 +101,7 @@ String joinURL = getJoinURLXML(uname, "Join and Upload example", welcomeMsg, xml ); - if (joinURL.startsWith("http://")) { + if (joinURL.startsWith("http://") || joinURL.startsWith("https://")) { %> <script language="javascript" type="text/javascript"> window.location.href="<%=joinURL%>"; diff --git a/bbb-api-demo/src/main/webapp/demo8.jsp b/bbb-api-demo/src/main/webapp/demo8.jsp old mode 100755 new mode 100644 index 33239ae4453f9b73a149baec16dd9da419fd9e37..a44d6715bf20c32e7eacc65dd2aea2d172953514 --- a/bbb-api-demo/src/main/webapp/demo8.jsp +++ b/bbb-api-demo/src/main/webapp/demo8.jsp @@ -78,7 +78,7 @@ String meetingID = presentationFileName.replace("pdfs/","").replace(".pdf","").replace(".pptx",""); String joinURL = getJoinURL(username, meetingID, "false", welcomeMsg, null, xml ); - if (joinURL.startsWith("http://")) { + if (joinURL.startsWith("http://") || joinURL.startsWith("https://")) { %> <script language="javascript" type="text/javascript"> window.location.href="<%=joinURL%>"; diff --git a/bbb-api-demo/src/main/webapp/demo9.jsp b/bbb-api-demo/src/main/webapp/demo9.jsp old mode 100755 new mode 100644 index 1d8f36a620f440e225121b558600af4a4b82cd3b..dfd2d25df9f34dd0ae717d79aca6211338b1e568 --- a/bbb-api-demo/src/main/webapp/demo9.jsp +++ b/bbb-api-demo/src/main/webapp/demo9.jsp @@ -92,7 +92,7 @@ if (request.getParameterMap().isEmpty()) { // String joinURL = getJoinURL(request.getParameter("username"), "Demo Meeting", "false", null, null); - if (joinURL.startsWith("http://")) { + if (joinURL.startsWith("http://") || joinURL.startsWith("https://")) { %> <script language="javascript" type="text/javascript"> diff --git a/bbb-api-demo/src/main/webapp/demoHTML5.jsp b/bbb-api-demo/src/main/webapp/demoHTML5.jsp index 47e2d944a28521dad7832ee8fd5605b4f1fadaa5..4b9a550b77ac82adb0d4003e1a427bbf45da0dd0 100644 --- a/bbb-api-demo/src/main/webapp/demoHTML5.jsp +++ b/bbb-api-demo/src/main/webapp/demoHTML5.jsp @@ -100,7 +100,7 @@ if (request.getParameterMap().isEmpty()) { // redirect towards the html5 client which is waiting for the following parameters String html5url = ip + "/html5client/" + meetingId + "/" + userId + "/" + authToken; - if (joinURL.startsWith("http://")) { + if (joinURL.startsWith("http://") || joinURL.startsWith("https://")) { %> <script language="javascript" type="text/javascript"> diff --git a/bbb-api-demo/src/main/webapp/demo_mozilla_persona.jsp b/bbb-api-demo/src/main/webapp/demo_mozilla_persona.jsp old mode 100755 new mode 100644 index 61960a96dde125e1cc777936fdaaa35846e1ba0d..83ef01eaae896e765e45c893915838e342c769df --- a/bbb-api-demo/src/main/webapp/demo_mozilla_persona.jsp +++ b/bbb-api-demo/src/main/webapp/demo_mozilla_persona.jsp @@ -132,7 +132,6 @@ function loggedIn(res){ Gson gson = new Gson(); HashMap<String,String> map = gson.fromJson(jsonResp, new TypeToken<Map<String, String>>() {}.getType()); - if(map.get("status").equalsIgnoreCase("okay")){ joinURL = getJoinURL(map.get("email"), "Demo Meeting", "false", null, null, null); } @@ -143,7 +142,7 @@ function loggedIn(res){ // String preUploadPDF = "<?xml version='1.0' encoding='UTF-8'?><modules><module name='presentation'><document url='"+url+"pdfs/sample.pdf'/></module></modules>"; - if (joinURL.startsWith("http://")) { + if (joinURL.startsWith("http://") || joinURL.startsWith("https://")) { %> <script language="javascript" type="text/javascript"> diff --git a/bbb-api-demo/src/main/webapp/demo_openid.jsp b/bbb-api-demo/src/main/webapp/demo_openid.jsp index d293298bc2347466d2b2580e87dcc1efab6ec177..757a79e2eaf9b2257f19f262bcf0379b4de893cb 100644 --- a/bbb-api-demo/src/main/webapp/demo_openid.jsp +++ b/bbb-api-demo/src/main/webapp/demo_openid.jsp @@ -86,14 +86,6 @@ if (request.getParameterMap().isEmpty()) { <FORM id="form1" NAME="form1" METHOD="GET" ACTION="#"> <table cellpadding="5" cellspacing="5" style="width: 400px; "> <tbody> - <tr> - <td> </td> - <td style="text-align: left "> - <a href="#" id="google" title="Sign-in with Google OpenID"> - <img src="images/google.png" alt="Sign in"></br> - </a> - </td> - </tr> <tr> <td> </td> <td style="text-align: left "> @@ -147,7 +139,7 @@ if (request.getParameterMap().isEmpty()) { Authentication authentication = manager.getAuthentication(request, mac_key, alias); String joinURL = getJoinURL(authentication.getFullname(), "Demo Meeting", null, null, null, null ); - if (joinURL.startsWith("http://")) { + if (joinURL.startsWith("http://") || joinURL.startsWith("https://")) { %> <script language="javascript" type="text/javascript">