Seriously.js icon indicating copy to clipboard operation
Seriously.js copied to clipboard

Cannot Connect a Foreign Node

Open LoganArnett opened this issue 8 years ago • 1 comments

I am trying to run Seriously in an Angular application that allows people to take greenscreen photos in a kiosk style setting. If the user at any time decides to just reset and start over I take them back to the welcome screen in the single page app.

I run:

if (target.source) {
  target.source.destroy();
}

which is successful but then when I continue through the flow again i see this error image

Trying to figure out what is happening because the rest of the application appears to work even with this error

LoganArnett avatar Jun 19 '16 14:06 LoganArnett

Once you destroy a node, you cannot use it again. You have to create a new node.

What kind of node is target.source?

brianchirls avatar Jun 30 '16 01:06 brianchirls