Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions docs/multiple-brands.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,84 @@ Add `brand=telus` in src query parameter:
</iframe>
```

## Atos Unify Office

> From v1.8.0

Use `adapter.atos.js` to instead of `adapter.js`:

```js
<script>
(function() {
var rcs = document.createElement("script");
rcs.src = "https://ringcentral.github.io/ringcentral-embeddable/adapter.atos.js";
var rcs0 = document.getElementsByTagName("script")[0];
rcs0.parentNode.insertBefore(rcs, rcs0);
})();
</script>
```

### Iframe way

Add `brand=atos` in src query parameter:

```html
<iframe width="300" height="500" id="rc-widget" allow="microphone" src="https://ringcentral.github.io/ringcentral-embeddable/app.html?brand=atos">
</iframe>
```

## Avaya Cloud Office

> From v1.8.0

Use `adapter.avaya.js` to instead of `adapter.js`:

```js
<script>
(function() {
var rcs = document.createElement("script");
rcs.src = "https://ringcentral.github.io/ringcentral-embeddable/adapter.avaya.js";
var rcs0 = document.getElementsByTagName("script")[0];
rcs0.parentNode.insertBefore(rcs, rcs0);
})();
</script>
```

### Iframe way

Add `brand=avaya` in src query parameter:

```html
<iframe width="300" height="500" id="rc-widget" allow="microphone" src="https://ringcentral.github.io/ringcentral-embeddable/app.html?brand=avaya">
</iframe>
```

## Rainbow Office

> From v1.8.0

Use `adapter.rainbow.js` to instead of `adapter.js`:

```js
<script>
(function() {
var rcs = document.createElement("script");
rcs.src = "https://ringcentral.github.io/ringcentral-embeddable/adapter.rainbow.js";
var rcs0 = document.getElementsByTagName("script")[0];
rcs0.parentNode.insertBefore(rcs, rcs0);
})();
</script>
```

### Iframe way

Add `brand=rainbow` in src query parameter:

```html
<iframe width="300" height="500" id="rc-widget" allow="microphone" src="https://ringcentral.github.io/ringcentral-embeddable/app.html?brand=rainbow">
</iframe>
```

## Other Brands

For other brands, we are still customizing styles for them. Those users can use with default brand.
Expand Down
30 changes: 30 additions & 0 deletions getBrandConfig/atos/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
const path = require('path');

module.exports = {
prefix: 'rc-widget',
brandConfig: {
id: '2020',
code: 'atos',
name: 'Unify Office',
shortName: 'Unify Office',
appName: 'Unify Office Embeddable',
fullName: 'Unify Office',
allowJupiterUniversalLink: true,
callWithJupiter: {
default: {
link: 'https://app.unifyoffice.com/',
protocol: 'unifyoffice://',
name: 'Unify Office (Jupiter) App',
},
},
spartanProtocol: 'rcmobile://',
rcvTeleconference: 'https://video.unifyoffice.com/teleconference',
rcvProductName: 'Unify Office Video',
assets: {
logo: '/assets/atos/logo.svg',
icon: '/assets/atos/icon.png',
},
},
brandFolder: __dirname,
assetsFolder: path.resolve(__dirname, '../../src/assets/atos'),
};
2 changes: 2 additions & 0 deletions getBrandConfig/atos/theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$header-logo-width: 84px;
$header-logo-height: 24px;
1 change: 1 addition & 0 deletions getBrandConfig/att/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = {
rcvProductName: 'AT&T Office@Hand Meetings',
rcvTeleconference: 'https://meetings.officeathand.att.com/teleconference',
teleconference: 'https://meetings-officeathand.att.com/teleconference',
eulaLink: 'http://www.att.com/officeathandpolicy',
assets: {
logo: '/assets/att/logo.svg',
icon: '/assets/att/icon.svg',
Expand Down
30 changes: 30 additions & 0 deletions getBrandConfig/avaya/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
const path = require('path');

module.exports = {
prefix: 'rc-widget',
brandConfig: {
id: '6010',
code: 'avaya',
name: 'Avaya Cloud Office',
shortName: 'Avaya Cloud Office',
appName: 'Avaya Cloud Office Embeddable',
fullName: 'Avaya Cloud Office',
allowJupiterUniversalLink: true,
callWithJupiter: {
default: {
link: 'https://app.cloudoffice.avaya.com/',
protocol: 'rcapp://',
name: 'Avaya Cloud App',
},
},
spartanProtocol: 'rcmobile://',
rcvTeleconference: 'https://video.cloudoffice.avaya.com/teleconference',
rcvProductName: 'Avaya Cloud Office Video',
assets: {
logo: '/assets/avaya/logo.svg',
icon: '/assets/avaya/icon.svg',
},
},
brandFolder: __dirname,
assetsFolder: path.resolve(__dirname, '../../src/assets/avaya'),
};
2 changes: 2 additions & 0 deletions getBrandConfig/avaya/theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$header-logo-width: 108px;
$header-logo-height: 18px;
4 changes: 2 additions & 2 deletions getBrandConfig/bt/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module.exports = {
appName: 'BT Cloud Work Embeddable',
fullName: 'BT Cloud Work',
application: 'BT Cloud Work Embeddable',
allowRegionSetting: true,
allowJupiterUniversalLink: true,
callWithJupiter: {
default: {
Expand All @@ -20,9 +19,10 @@ module.exports = {
},
spartanProtocol: 'rcbtmobile://',
rcmProductName: 'BT Cloud Work Meetings',
rcvProductName: '',
rcvProductName: 'BT Cloud Work Video',
rcvTeleconference: 'https://video.cloudwork.bt.com/teleconference',
teleconference: 'https://meetings.btcloudphone.bt.com/teleconference',
eulaLink: 'https://www.bt.com/products/static/terms/terms-of-use.html',
assets: {
logo: '/assets/bt/logo.svg',
icon: '/assets/bt/icon.svg',
Expand Down
30 changes: 30 additions & 0 deletions getBrandConfig/rainbow/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
const path = require('path');

module.exports = {
prefix: 'rc-widget',
brandConfig: {
id: '2110',
code: 'rainbow',
name: 'Rainbow Office',
shortName: 'Rainbow Office',
appName: 'Rainbow Office Embeddable',
fullName: 'Rainbow Office',
allowJupiterUniversalLink: true,
callWithJupiter: {
default: {
link: 'https://app.rainbowoffice.com/',
protocol: 'com.rainbowoffice.app://',
name: 'Rainbow Office App',
},
},
spartanProtocol: 'rcmobile://',
rcvTeleconference: 'https://video.rainbowoffice.com/teleconference',
rcvProductName: 'Rainbow Office Video',
assets: {
logo: '/assets/rainbow/logo.svg',
icon: '/assets/rainbow/icon.png',
},
},
brandFolder: __dirname,
assetsFolder: path.resolve(__dirname, '../../src/assets/rainbow'),
};
2 changes: 2 additions & 0 deletions getBrandConfig/rainbow/theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$header-logo-width: 84px;
$header-logo-height: 24px;
1 change: 1 addition & 0 deletions getBrandConfig/rc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
application: 'RingCentral Embeddable',
allowRegionSetting: true,
signupUrl: 'https://www.ringcentral.com/office/plansandpricing.html',
eulaLink: 'https://www.ringcentral.com/legal/eulatos.html',
allowJupiterUniversalLink: true,
callWithJupiter: {
default: {
Expand Down
4 changes: 2 additions & 2 deletions getBrandConfig/telus/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module.exports = {
appName: 'TELUS Business Connect Embeddable',
fullName: 'TELUS Business Connect',
application: 'TELUS Business Connect Embeddable',
allowRegionSetting: true,
allowJupiterUniversalLink: true,
callWithJupiter: {
default: {
Expand All @@ -20,9 +19,10 @@ module.exports = {
},
spartanProtocol: 'rctelus://',
rcmProductName: 'TELUS Business Connect Meetings',
rcvProductName: '',
rcvProductName: 'Business Connect Video Meeting',
rcvTeleconference: 'https://video.businessconnect.telus.com/teleconference',
teleconference: 'https://meetings.businessconnect.telus.com/teleconference',
eulaLink: 'http://telus.com/BusinessConnect/ServiceTerms',
assets: {
logo: '/assets/telus/logo.svg',
icon: '/assets/telus/icon.svg',
Expand Down
Binary file added src/assets/atos/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/atos/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading