How to display .mp4 video on Intranet
-
I have an Intranet application and have developed a training video where I would like to have the users be able to view it. I found the following code to have the Media Player embedded on my page ..
In the Code Behind, I set the source for the video as follows:
embed1.Attributes.Add("src", Server.MapPath("~\Videos\" & sVideoName))
Everything works fine if I execute it within the Visual Studio 2015 environment, but when I deploy it to my IIS 7.5 (Win 2008R2) web server, nothing is displayed and no errors are listed. I must be missing something on the IIS side. But what? Thanks in advance.
-
I have an Intranet application and have developed a training video where I would like to have the users be able to view it. I found the following code to have the Media Player embedded on my page ..
In the Code Behind, I set the source for the video as follows:
embed1.Attributes.Add("src", Server.MapPath("~\Videos\" & sVideoName))
Everything works fine if I execute it within the Visual Studio 2015 environment, but when I deploy it to my IIS 7.5 (Win 2008R2) web server, nothing is displayed and no errors are listed. I must be missing something on the IIS side. But what? Thanks in advance.