chrome tabCapture example

Author: ddenis1994Created Aug 12, 2021Updated May 29, 2024

hi am tiring to use the tabCapture API without success for a few days now

what I tried running the tab capture in the content - results in undefined to the API running the tab capture inside an iframe that the src is HTML that accessible to the extension (iFrame.src = chrome.runtime.getURL("gif.html");) -result in an error when the user clicks on a button to initiate the recorded Error starting tab capture

maybe someone can share code example for using the tab capture API in manifest version 3

thanks

Source: GoogleChrome/chrome-extensions-samples