Camera issue not working

Hi guys! I’m new to processing and im having a problem: Processing is not reading my integrated camera with my laptop. I tried everything but can’t get it to work. here is a screen shot of the code im using. I used the same exact code once and it worked but it didn’t work the rest of the times. Something weird is happening, i think it is not able to connect to my integrated camera. Anyone knows how to fix this issue? Thanks

Did you see: Procesing can't find the camera - Video Libraries don't work

Hello, yes i tried it. I also got no cameras available for Capture. Is this a bug or am i missing something?

Yeah, the guy in the other discussion solved it.

Did you try this way?

Or send him a personal message and ask him for more details please.