Ziggeo API (http://ziggeo.com) allows you to integrate video recording and playback with only two lines of code in your site, service or app. This is the PHP Server SDK repository. It's open source, so if you want to improve on it, feel free to add a pull request.
Copyright (c) 2014 Ziggeo