Restored the preview functionality for video