chrome-extensions-samples icon indicating copy to clipboard operation
chrome-extensions-samples copied to clipboard

You should be able to open an `<iframe>` with URL set to `chrome-extension://<id>/file.html` by specifying the file in `"web_accessible_resources"` then use `navigator.mediaDevices.getUserMedia()` and `navigator.mediaDevices.getDisplayMedia()`.

Open Thiri25 opened this issue 2 years ago • 1 comments

You should be able to open an <iframe> with URL set to chrome-extension://<id>/file.html by specifying the file in "web_accessible_resources" then use navigator.mediaDevices.getUserMedia() and navigator.mediaDevices.getDisplayMedia().

Originally posted by @guest271314 in https://github.com/GoogleChrome/chrome-extensions-samples/issues/627#issuecomment-898934924

Thiri25 avatar Sep 07 '21 01:09 Thiri25

What is the issue?

guest271314 avatar Sep 07 '21 01:09 guest271314