I'm currently developing a React application that facilitates webcam interviews with candidates. As part of this process, candidates have the option to "Start Again" or "Complete" their interviews.
One challenge I am facing is displaying the recorded data as an HTML video. The issue arises when the video does not appear after recording, particularly because the video data is in blob format.
In addition to this, a download button has been included for users. When users utilize this feature, they are able to successfully download and save the video locally.
Various solutions have been attempted to address the display problem. These solutions range from directly embedding the video using .mp4 or .webm extensions in the src attribute to experimenting with third-party React video player npm packages. Unfortunately, none of these methods have yielded successful results thus far.
... (proceeding with code snippet)