<%@ Page Language="C#" AutoEventWireup="true" CodeFile="VideoPlayer.aspx.cs" Inherits="VideoPlayer" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <link href="<%=ResolveClientUrl("Styles/Site.css")%>" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="<%=ResolveClientUrl("../Scripts1/jquery-1.4.1.min.js")%>"></script> </head> <body> <form id="form1" runat="server"> <div> <p> <label>Video with single source: </label> <br /> <video id="sampleVideo" controls src="http://shuen-yuan.com/Videos/kittenlabs_weathertribes_video.mp4"> <track src="../Files/sampleSubtitles.vtt" srclang="en" kind="subtitles" label="English subtitles"> Your browser does not support the audio element. </video> <input type="button" value="Mute" onclick="CMute(sampleVideo);" /> <input type="button" value="Unmute" onclick="CUnMute(sampleVideo);" /> <input type="button" value="Pause" onclick="CPause(sampleVideo);" /> <input type="button" value="Play" onclick="CPlay(sampleVideo);" /> <input type="button" value="Fullscreen" onclick="CFullScreen(sampleVideo);" /> <br /> </p> </div> </form> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)