Unexpected behavior with props in two separate models #1107
Answered
by
hedonicadapter
hedonicadapter
asked this question in
Q&A
-
I'm trying to use props to play and pause two video textures, so that when one is playing, the other is paused and vice versa. The problem is that only one button at a time seems to be working (but also sometimes neither of them), and only the first video can be played/paused. The problem might be similar to #907 but I don't understand what's happening. repro: https://codesandbox.io/s/buster-2-5ovlk2?file=/src/App.js
|
Beta Was this translation helpful? Give feedback.
Answered by
hedonicadapter
Nov 2, 2022
Replies: 1 comment
-
Don't think this was a drei issue. Solved by importing two different videos.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hedonicadapter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't think this was a drei issue. Solved by importing two different videos.