Cross-browser library for recording streaming video