m90 / seeThru

HTML5 video with alpha channel transparencies
MIT License
476 stars 68 forks source link

Can I use this in React? #51

Closed pizza0502 closed 6 years ago

pizza0502 commented 6 years ago

Hi, want to ask can I use seeThru in React? Any example showing how can this works in React?

m90 commented 6 years ago

I'm pretty sure you can use seeThru with React although I have never done it myself (but I remember issues like #45 talking about it).

You would probably need to call create in componentDidMount (at least that's what it was called the last time I used React, which is a while back) and then make sure the rendering does not affect the canvas element that is being created when it's not wanted.

m90 commented 6 years ago

Closing this as inactive. If you have further questions, feel free to reopen.