Re: [mediacapture-region] MediaDevices.produceCropTarget -> CropTarget.fromElement (#50)

> I believe the sample code at https://w3c.github.io/mediacapture-region/#sample-code should be using `CropTarget.fromElement()` instead of `mediaDevices.produceCropTarget()`.

Thanks for catching!
Done.

> The README.md file would also benefit from these changes for consistency

I'll send a separate PR once this one is merged. I think it would require a bit more prose to be updated, so it might take a few more iterations, whereas here I hope we're mostly done.

-- 
GitHub Notification of comment by eladalon1983
Please view or discuss this issue at https://github.com/w3c/mediacapture-region/pull/50#issuecomment-1135901683 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 24 May 2022 13:08:31 UTC