This is probably a stupid question, but: How on earth do you play a video in WiseJ?
I have a video control on my form. I set the “SourceURL” property to the name of the video. The video is saved in the web site root directory. On form load I call video.Play(); Nothing happens.
Is there an example or am I hopefully missing something ridiculously obvious?
not a stupid question at all.
IIS and IIS express do need to have the mime type registered.
Add this to your web.config:
<remove fileExtension=”.mp4″ />
<mimeMap fileExtension=”.mp4″ mimeType=”video/mp4″ />
Please note that only mp4, ogg, webm, asf and flv formats are supported.