Skip to content

Video/stereo doesn't work with example #29

@Kjos

Description

@Kjos

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions