c-frame / aframe-stereo-component

aframe.io component to enable separate eye rendering of objects, plus stereo video rendering (full 360 or half dome)
https://c-frame.github.io/aframe-stereo-component/
MIT License
135 stars 52 forks source link

Video/stereo doesn't work with example #29

Open Kjos opened 6 years ago

Kjos commented 6 years ago

The example doesn't play anything with the latest AFrame.

Below works fine for me.


    <a-scene>
      <a-assets>
        <video id="video" autoplay loop crossorigin="anonymous" src="videos/MaryOculus.mp4"></video>
      </a-assets>

      <a-camera position="0 0 10" stereocam="eye:left;"></a-camera>

      <a-videosphere src="#video" rotation="0 180 0" play-on-window-click play-on-vrdisplayactivate-or-enter-vr
              material="shader: flat; src:#video;" 
              scale="-1 1 1" stereo="eye:left"></a-videosphere>

      <a-videosphere src="#video" rotation="0 180 0" play-on-window-click play-on-vrdisplayactivate-or-enter-vr
              material="shader: flat; src:#video;"
              scale="-1 1 1" stereo="eye:right"></a-videosphere>

    </a-scene>
arthurmougin commented 6 years ago

check that: https://github.com/oscarmarinmiro/aframe-stereo-component/issues/28