aframevr / aframe

:a: Web framework for building virtual reality experiences.
https://aframe.io/
MIT License
16.65k stars 3.96k forks source link

a-videosphere Black screen #4832

Open eliaskh opened 3 years ago

eliaskh commented 3 years ago

issue. --> Hello, i have issue, i am using this code

<a-scene loading-screen="enabled:false" embedded vr-mode-ui="enabled:false" style={{ width: '100%', height: '100vh', postion: 'fixed', top: '0px', left: '0px', zIndex: '25', }}

<a-videosphere rotation="0 0 0" animation="property: rotation; to: 0 360 0; loop: true; dur: 30000" autoplay="true" loop="true" src={video} webkit-playsinline="true" playsinline="true"

    <a-camera
      position="0 0 0"
      id="tour-cammera"
      zoom="0.4"

      // fov={fov}
    ></a-camera>
  </a-scene>

but the video sphere is working randomly, sometimes it working, and other show total black screen ! any one can help me please. Thank you all.

eliaskh commented 3 years ago

it happens on my iPhone and Samsung mobiles

dmarcos commented 3 years ago

Link to runnable code to reproduce? Glitch is recommended https://glitch.com/~aframe

bknill commented 3 years ago

Could be a couple of things: