Home > Net > The Response. The ContentType="video/mp4" file open will play video, download other video
The Response. The ContentType="video/mp4" file open will play video, download other video
Time:04-14
The Response. ContentType="video/mp4"; Set type and then opened by the following ways, can play MP4 Format of the video, but there are a lot of video format, tried the avi Response. The ContentType="video/avi"; Open the download directly, this is why The Response. The Charset="GB2312"; The Response. The WriteFile (" address ");
Have what method can open in the background through the above other format video
Never done, inquire, thank you
CodePudding user response:
Someone in here ~ ~
CodePudding user response:
Is still not clear about the concept of local and network, you simply say there is a mp4 file header metadata, support downloading while playing, avi format does not support downloading while playing,
Video a lot, then start with format conversion, also can consider other network protocols, are not necessarily of the HTTP protocol,