creatability-components icon indicating copy to clipboard operation
creatability-components copied to clipboard

pose-input.ts:13 Uncaught (in promise) Your browser does not support WebRTC. Please try another one.

Open genderev opened this issue 4 years ago • 1 comments

I received this error:

pose-input.ts:13 Uncaught (in promise) Your browser does not support WebRTC. Please try another one.

Browsers I tried:

  • Chromium
  • Firefox
  • Safari

I also tried to fix this error by:

  • running the example in the README.md:
        <!-- webcomponents-loader loads polyfills only for browsers not supporting Shadow DOM -->
        <script src="//cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/2.0.2/webcomponents-loader.js"></script>
        <script src="dist/acc-components.min.js"></script>

        <acc-input-mode-select>
            <acc-mouse-input amplification="10"></acc-mouse-input>
            <acc-pose-input smoothing="0.5" selected></acc-pose-input>
        </acc-input-mode-select>

        <script>
            const inputSelector = document.querySelector('acc-input-mode-select');

            // all of the input's events bubble up to the selector
            inputSelector.addEventListener('input', function onInput(event){
                const input = event.target;
                // position mapped to the content's coordinate space
                // by default this is document.body, it can be set to any
                // element with inputSelector.contentElement = htmlElement;
                // or <acc-input-mode-select contentselector="#content">
                // exists on individual inputs as well
                const x = input.contentX;
                const y = input.contentY;
            }
        </script>
    </body>

And I continued to receive this error:

pose-input.ts:13 Uncaught (in promise) Your browser does not support WebRTC. Please try another one.

genderev avatar Nov 22 '21 02:11 genderev

I received this error:

pose-input.ts:13 Uncaught (in promise) Your browser does not support WebRTC. Please try another one.

Browsers I tried:

  • Chromium
  • Firefox
  • Safari

I also tried to fix this error by:

  • running the example in the README.md:
        <!-- webcomponents-loader loads polyfills only for browsers not supporting Shadow DOM -->
        <script src="//cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/2.0.2/webcomponents-loader.js"></script>
        <script src="dist/acc-components.min.js"></script>

        <acc-input-mode-select>
            <acc-mouse-input amplification="10"></acc-mouse-input>
            <acc-pose-input smoothing="0.5" selected></acc-pose-input>
        </acc-input-mode-select>

        <script>
            const inputSelector = document.querySelector('acc-input-mode-select');

            // all of the input's events bubble up to the selector
            inputSelector.addEventListener('input', function onInput(event){
                const input = event.target;
                // position mapped to the content's coordinate space
                // by default this is document.body, it can be set to any
                // element with inputSelector.contentElement = htmlElement;
                // or <acc-input-mode-select contentselector="#content">
                // exists on individual inputs as well
                const x = input.contentX;
                const y = input.contentY;
            }
        </script>
    </body>

And I continued to receive this error:

pose-input.ts:13 Uncat (in promise) Your browser does not support WebRTC. Please try another one.

ViniciusFSSilva avatar Oct 01 '23 11:10 ViniciusFSSilva