Adding changes to preview camera correctly while shooting video and playing video on clicking thumbnails