added code for creating vine like videos in the browser using web rtc javascript functions.