aboutsummaryrefslogtreecommitdiff
path: root/source/client/user.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@yandex.com>2022-01-23 14:06:14 +0100
committermetamuffin <metamuffin@yandex.com>2022-01-23 14:06:14 +0100
commita383c334a2e4ccb246a4a1092b1d053ccad19bd7 (patch)
treec747e39e25b94944da077df0a3ea20a2465540a8 /source/client/user.ts
parent16fa95ac191287fe7f82b9f37c31342fe3b4b65a (diff)
downloadkeks-meet-a383c334a2e4ccb246a4a1092b1d053ccad19bd7.tar
keks-meet-a383c334a2e4ccb246a4a1092b1d053ccad19bd7.tar.bz2
keks-meet-a383c334a2e4ccb246a4a1092b1d053ccad19bd7.tar.zst
ported everything to deno! yay
Diffstat (limited to 'source/client/user.ts')
-rw-r--r--source/client/user.ts9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/client/user.ts b/source/client/user.ts
index f4f33e1..ef1449f 100644
--- a/source/client/user.ts
+++ b/source/client/user.ts
@@ -1,5 +1,6 @@
-import { log } from "./logger"
-import { Room } from "./room"
+
+import { log } from "./logger.ts"
+import { Room } from "./room.ts"
export abstract class User {
@@ -11,7 +12,7 @@ export abstract class User {
display?: { audio_status_el: HTMLElement, video_status_el: HTMLElement }
- local: boolean = false
+ local = false
stream: MediaStream = new MediaStream()
@@ -96,7 +97,7 @@ export abstract class User {
const pip_el = document.createElement("input")
pip_el.type = "button"
pip_el.addEventListener("click", () => {
- //@ts-ignore
+ // @ts-ignore firefox feature
media_el.requestPictureInPicture()
})
pip_el.value = "Picture-in-Picture"