added videoplay,webcam and workerthread for fpdemo