hbx-luv / codetango

The best way to play Codenames online
https://play.hbx.vision/
GNU General Public License v3.0
2 stars 3 forks source link

Add the google meet link inside the tangocard room #17

Open Matttaylor8910 opened 4 years ago

Matttaylor8910 commented 4 years ago

Potentially another room setting in: https://github.com/Matttaylor8910/codetango/issues/4

Where do we show this?

Matttaylor8910 commented 3 years ago

Add a video icon in the top bar near all of the other icons: image image

This icon is <ion-icon name="videocam-outline"></ion-icon>

When the there is a link assigned to a room, the tooltip should read "Join Video Call". Otherwise the tooltip should read "Add a call to this room" or "Matt is adding a call to this room..." when a user is already in the process of adding a call.

The process of adding a call should be to: 1) Spawn a modal with a title, cancel button, etc 2) Set some status on the room to drive the feature about showing "Matt is adding a call to this room..." 3) Have some text about how Google Meet is free and easy to use for video call, provide a button to start a new meeting in a new tab (https://meet.new), and explain that they should join the call and then come back to paste the link. 4) When there is a valid URL in the box (could be discord, hangouts, meet, zoom, whatever) allow them to save.

To figure out: How do you clear a video call from a room?

Since everyone logs in with their google accounts, should we create a developer account to create new events using the Calendar API and create an email called calendar@codetango.web.app that invites everyone by their email to a new event which we attach a conferenceData createRequest to which will generate a new Google Meet?

"conferenceData": {
  "entryPoints": [
   {
    "entryPointType": "video",
    "uri": "https://meet.google.com/wix-pvpt-njj",
    "label": "meet.google.com/wix-pvpt-njj"
   }
  ],
  "conferenceId": "wix-pvpt-njj",
  "signature": "ADwwud9tLfjGQPpT7bdP8f3bq3DS"
 }

In the lobby we could have a place to paste a chat link or to generate a new Google Meet using the calendar API.