From a383c334a2e4ccb246a4a1092b1d053ccad19bd7 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 23 Jan 2022 14:06:14 +0100 Subject: ported everything to deno! yay --- source/client/user.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'source/client/user.ts') 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" -- cgit v1.2.3-70-g09d2