ComponentOne Extender Controls for ASP.NET Web Forms
Wijmo Control Toolkit Extender Controls / C1VideoExtender / C1VideoExtender Tutorial / Step 2 of 3: Adding a Video
In This Topic
    Step 2 of 3: Adding a Video
    In This Topic

    In this topic you will add a video for the C1VideoExtender.

    1. Add a video to your project.
    2. Add the following XAML markup to the markup for the Panel control associated with the C1VideoExtender:

    <asp:Panel ID="Panel1" runat="server">

                      <video controls id="vid1" width="480" height="204">

                            <source src="http://cdn.wijmo.com/movies/sintel-trailer.ogv" type='video/ogg; codecs="theora, vorbis"'>

                            <source src="http://cdn.wijmo.com/movies/sintel-trailer.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>

                      </video>

                </asp:Panel>

    Now run the project to watch the video.