Many browsers now have the facility to access video and audio input from the user. However, relying on the browser, it would be a full dynamic and inline experience, or it’d be delegated to a special app on the user’s device.
Add HTML to your code
Add following to javascript code to record video with MediaRecorder
Your recorded video is now automatically playing after recording through video.play(); method