Hello everyone,
Any idea about how to get the content-type for a video file? I am writing an ASP.Net application which writes video binary content back to browser client to invoke related media player, and needs to fill-in the content-type field of response header.
thanks in advance,
George
Bechir BejaouiRank #144 · 15.9K pointsPosted Dec 10, 2008, 10:12 AM EST
George GeorgeRank #2,261 · 618 pointsPosted Dec 11, 2008, 2:52 AM EST
At server side, I have some video cached in memory (stored as byte[]) and want to write them back to client in order to trigger client to play a video.
In order to do that, I think I need to fill the content-type response Http header, correct? This is why I asked this question. Any ideas?
regards,
George
Bechir BejaouiRank #144 · 15.9K pointsPosted Dec 11, 2008, 1:58 PM EST
George GeorgeRank #2,261 · 618 pointsPosted Dec 13, 2008, 11:29 PM EST
It is read from file (video files). Any ideas to my original question? Thanks.
regards,
George