I have an ASP .Net 4.0 web project with a page that I want to show a video. What I am getting is a directory browse to the file I want to display instead of the video playing. My Master page has <!DOCTYPE html> so it should be rendering htlm5. The video.aspx has this:
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Video.aspx.cs" Inherits="EFPhotography.Video" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<div style="height:400px">
<video width="500" height="300" controls>
<source src="IMG_0007.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
</div>
What am I missing? Thanks