The extension for Xcratch
Make the camera selectable. This is an extension to help with extensions that use all cameras.
この拡張はビデオ入力を利用する他の拡張と組み合わせて使います。 Scratch でビデオ入力を扱う場合、複数のカメラがある端末でも1つのカメラしか利用することが出来ません。 ですがこの拡張を使うと、端末で利用可能な全てのカメラ(フロントカメラやバックカメラなど)をビデオ入力デバイスとして選択して利用可能になります。
以下は、カメラセレクター拡張機能を使用したサンプルプロジェクトのスクリーンショットです。

Play Example Project to look at what you can do with “CameraSelector” extension.
This extension can be used with other extension in Xcratch.
https://tfabworks.github.io/xcx-cameraselector/dist/cameraselector.mjs
Run register script to install this extension on the local Xcratch for testing.
npm run register
Run build script to bundle this extension into a module file which could be loaded on Xcratch.
npm run build
Open this page from https://tfabworks.github.io/xcx-cameraselector/
Contributions, issues and feature requests are welcome!
Feel free to check issues page.