aframevr / aframevr/aframe

VideoSphere stopped loading video in AFRAME 0.8.0

Open
#3,507 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
17.6k
Forks
4.4k
PR merge metrics
No merged PRs in 30d

Description

Description:

  • A-Frame Version: 0.8.0
  • Platform / Device: Desktop Chrome and Firefox
  • Reproducible Code Snippet or URL:

The videosphere works fine in 0.5, 0.6, and 0.7. As soon as I upgrade this to 0.8.0, the video in the videosphere no longer shows up. Here's the error that I get:

core:a-assets:warn Asset loading timed out in 3000 ms

Here's the html stripped down to only have a videosphere.

<!DOCTYPE html>
<html>
  <head>
    <!-- This works just fine in 0.5, 0.6, and 0.7  -->
    <script src="https://aframe.io/releases/0.8.0/aframe.min.js"></script>
  </head>
  <body>
    <a-scene>
      <a-assets id="assets">
        <video id="wormhole-video" autoplay loop="true" src="./assets/videos/wormhole.mp4"></video>
      </a-assets>

      <a-videosphere id="video-player" src="#wormhole-video"></a-videosphere>
    </a-scene>
  </body>
</html>

See it in action:

screen capture on 2018-03-28 at 18-33-11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the minimal HTML example with A-Frame 0.8.0 in Chrome or Firefox, then trace the a-assets timeout and videosphere loading path. Done means the supplied video loads and renders in the videosphere without the asset-loading timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.