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

Component video-control error #552

Open
nampereira opened this issue Jun 28, 2023 · 1 comment
Open

Component video-control error #552

nampereira opened this issue Jun 28, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@nampereira
Copy link
Contributor

Describe the bug
Component video-control throws a Cannot read properties of null (reading 'setAttribute') at n.init (video-control.js:68:21)

To Reproduce
Here is an example plane with video-control:

{
  "object_id": "video-ctlr",
  "persist": true,
  "type": "object",
  "action": "update",
  "data": {
    "object_type": "plane",
    "height": 1,
    "width": 1,
    "position": {
      "x": 1,
      "y": 1,
      "z": 1
    },
    "rotation": {
      "w": 1,
      "x": 0,
      "y": 0,
      "z": 0
    },
    "material": {
      "color": "#7f7f7f"
    },
    "video-control": {
      "frame_object": "/store/users/wiselab/images/conix-face-white.jpg",
      "video_object": "square_vid6",
      "video_path": "/store/users/wiselab/videos/kungfu.mp4"
    },
    "click-listener": {
      "enabled": true,
      "bubble": true
    }
  }
}

Using arena-core v1.19.1

Expected behavior
Video control should allow to add a video and start/stop it.

Device/OS (please complete the following information):
I tried in Desktop Chrome; it should happen across browsers.

@nampereira nampereira added the bug Something isn't working label Jun 28, 2023
@EdwardLu2018
Copy link
Member

I think this was fixed in the refactor? Can you try again on https://arenaxr.org/lobby?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants