How to play binary data (video file) on Web browse

2019-07-30 02:15发布

问题:

We are storing some video files as binary in NoSQl database, NoSQL database exposes Rest API to read data from database. We are able to receive the binary data (with no file extension) from RestAPI, but web browser starts to download the file instead of playing it in the browser.

I want to play the binary data as video on web browser instead of downloading.