Send mp4 video to client (wodWebServer / wodWebServer.NET)
Hi Crisitiano,
I already sent you reply to same request inside our ticketing system. Here is info what you need to do to play video using wodWebServer.
It's important that you change Content-Type to appropriate one when you want to open video inside browser.
So you can try something like this inside RequestHeaders Event:
----------------------------------------------------------
Private Sub Http1_RequestHeaders(ByVal User As WODWEBSERVERCOMLib.IWebUser)
If User.Request.PageName = "video.mp4" Then
User.Response.Headers.Add "Content-Type", "video/mp4"
End If
End Sub
----------------------------------------------------------
Let us know how it goes.
Regards,
Drazen
--
_________________________________________________
WeOnlyDo! Software - Internet Security Components
----------=== http://www.weonlydo.com ===----------
Complete thread:
- Send mp4 video to client - C.Boschi, 2013-12-04, 18:25
- Send mp4 video to client - wodDrazen, 2013-12-05, 10:37