make fps cam work on nonwebkit browsers