Add how to have a jitsi & cowebsite on doc

This commit is contained in:
Alexis Faizeau 2021-10-28 10:00:12 +02:00
parent c886feca79
commit b03e7ec8f6
2 changed files with 13 additions and 3 deletions

View File

@ -67,7 +67,7 @@ const coWebsiteWorkAdventure = await WA.nav.openCoWebSite('https://workadventu.r
coWebsite.close();
```
### Opening/closing web page in Co-Websites
### Get all Co-Websites
```
WA.nav.getCoWebSites(): Promise<CoWebsite[]>

View File

@ -64,3 +64,13 @@ For instance, if you want an iFrame to be able to go in fullscreen, you will use
<img src="images/open_website_policy.jpg" class="figure-img img-fluid rounded" alt="" />
<figcaption class="figure-caption">The generated iFrame will have the allow attribute set to: <code>&lt;iframe allow="fullscreen"&gt;</code></figcaption>
</figure>
### Open a Jitsi with a co-website
Cowebsites allow you to have several sites open at the same time.
If you want to open a Jitsi and another page it's easy!
You have just to [add a Jitsi to the map](meeting-rooms.md) and [add a co-website](opening-a-website.md#the-openwebsite-property) on the same layer.
It's done!