Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to load 360 video? #117

Open
huyle93 opened this issue May 8, 2018 · 1 comment
Open

Is there a way to load 360 video? #117

huyle93 opened this issue May 8, 2018 · 1 comment

Comments

@huyle93
Copy link

huyle93 commented May 8, 2018

I try to load a 360 mp4 video similar to the static web version using tag or having video tag inside but was not successful.

@fabiosalvi
Copy link

fabiosalvi commented Jul 15, 2018

I have the same issue.
I want to load a videosphere, but I cant' do it using a-assets.
Hence I can't use aframe-video-controls on it.

As far as I've experienced the bug surely does concern videos inside a-assets and the bug surely does not concern images inside a-assets. As for sounds the situation is unknown.

To be precise, this snippet works.

render() {
    return (
      <Scene>
          <Entity
              primitive="a-videosphere"
              src="myVideo.mp4"
          />
      </Scene>
    );
}

This doesn't.

render() {
    return (
      <Scene>
           <a-assets>
               <video id="coolVideo" src="myVideo.mp4"></video>
           </a-assets>

          <Entity
              primitive="a-videosphere"
              src="#coolVideo"
          />
      </Scene>
    );
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants