Giter Club home page Giter Club logo

ar.js-docs's People

Contributors

brianpeiris avatar caminogr avatar kalwalt avatar karltaylor avatar kieranfraser avatar nickw1 avatar nicolocarpignoli avatar omegastripes avatar sadmanyasar avatar vjandrei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ar.js-docs's Issues

Should the docs be significantly revised?

Many of the docs are a bit out of date, particularly given the update to use Webpack and other signficant changes at 3.4.

Should we maybe significantly rewrite the docs and examples?

I'm happy, time permitting, to do this for location-based, though I don't have the expertise for the marker and NFT side of things.

Build and deploy process fails

I try to deploy the site with the command: mkdocs gh-deploy but i receive this error:

ERROR - Config value: 'theme'. Error: Unrecognised theme name: 'flatly'. The available installed themes are: mkdocs, readthedocs

i tried to uninstall mkdocs

pip uninstall mkdocs

and install it again:

pip install mkdocs

as suggested in squidfunk/mkdocs-material#52 but not solved my issue. Instead running:

pip install --upgrade mkdocs-bootstrap mkdocs-bootswatch

as suggested here mkdocs/mkdocs#1265 solved completely the issue.

Somehow playing a video on safari 14 slows down tracking

Do you want to request a feature or report a bug?
Report a bug

What is the current behavior?
The tracking is great but ones the video starts playing the framerate drops

If the current behavior is a bug, please provide the steps to reproduce.

<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script> <script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>
    <button onclick="play()" style="    z-index: 999;
                                    position: relative;
                                    width: 50%;
                                    height: 10%;"> play</button>
    <a-scene embedded arjs>

        <a-assets timeout="10000">
            <video id="video-src" src="showreel.mp4" loop crossorigin playsinline></video>

        </a-assets>

        <a-marker preset="hiro">
            <a-entity
                      position="0 0 0"
                      scale="0.05 0.05 0.05"
                      gltf-model="https://arjs-cors-proxy.herokuapp.com/https://raw.githack.com/AR-js-org/AR.js/master/aframe/examples/image-tracking/nft/trex/scene.gltf"
                      ></a-entity>

            <a-video id="vid" src="#video-src" autoplay="false" width="3.733" height="2.1" position="0 0 0" rotation="-90 0 0" webkit-playsinline ></a-video>
        </a-marker>
        <a-entity camera></a-entity>
    </a-scene>
</body>

<script>
    function play() {
        document.getElementById('video-src').play();
    }
</script>

Please mention other relevant information such as the browser version, Operating System and Device Name
applicable to all OS and devices.
The device I am testing on is an Iphone 7, with the OS: iOS 14. I haven't had the ability to test it on Android

Tracking before play

ezgif com-gif-maker

Tracking after play

ezgif com-gif-maker (3)

What is the expected behavior?
The tracking needs to remain good after the video start playing. It used to work fine, but maybe it behaves like this because of the iOS update?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.