Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

HTML5 Video tag?

$
0
0

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


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>