ComponentOne Wijmo Open for Juice UI
Wijmo Open for Juice UI Extender Controls / WijVideo / WijVideo 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 WijVideo .

    1. Add a video to your project.
    2. Add the following XAML markup to the markup for the Panel control associated with the WijVideo:
      Copy Code
      <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.