Forum Moderators: open
I have a microsoft access database for keeping a video files. I can put there quicktime and wmv files. I can take source of that files and show them on asp page using simple code like this:
<% if rs("ContentType") = "video/quicktime" then %>
<embed src="/DataFile.asp?FileID=<%=Request.QueryString("FileID")%>" width="238" height="182" autostart="true" />
<% end if %>
I can show quicktime (mov) video very well, but I have a problem with showing wmv file on my asp page.
I can see player and it starts loading video, but after 2 or 3 sec. it just stops and nothing happens.
Do you have any idea how to handle this situation?
If I use
<embed src="/myvideo.wmv" width="238" height="182" autostart="true" /> everything works fine, but when I take data source from database it doesn't work. And player gives me an error: No combination of filters could be found to render the stream. (Error=80040218)
Do you have another ideas?
Actually storing the media to load in the database without having to store the binary medium itself is as simple as a text field that specifies the filename or path to the file.
Please let me know.