79816338

Date: 2025-11-11 07:29:09
Score: 1
Natty:
Report link

Add 'preferCurrentTab: true' to the method. You can ignore the type error, since it seems to be a typing problem. This param is indeed correct!

navigator.mediaDevices
    .getDisplayMedia({
      video: true,
      preferCurrentTab: true,
    })
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Patryk Stemporowski