From 7b41932ebcf7aca2a241d9a84a8f75724a262167 Mon Sep 17 00:00:00 2001 From: Tushar Sonawane Date: Sun, 28 Jan 2024 19:19:23 +0530 Subject: [PATCH] docs: update picture-in-picture.mdx --- docs/guides/capabilities/video/picture-in-picture.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/capabilities/video/picture-in-picture.mdx b/docs/guides/capabilities/video/picture-in-picture.mdx index e084a74ee..1903dbc34 100644 --- a/docs/guides/capabilities/video/picture-in-picture.mdx +++ b/docs/guides/capabilities/video/picture-in-picture.mdx @@ -20,7 +20,7 @@ Use `meeting.participants.pip.isSupported` to check if the browser supports Pict Call `meeting.participants.pip.init()` to activate PIP mode. Optionally you can pass height and width the configure the size of the PIP tile ```js -meeting.participant.pip.init({ +meeting.participants.pip.init({ width: 360, height: 360, }); @@ -38,7 +38,7 @@ Call `meeting.participants.pip.init()` to activate PIP mode. Optionally you can ```jsx const { meeting } = useDyteMeeting(); -meeting.participant.pip.init({ +meeting.participants.pip.init({ width: 360, height: 360, });