Hi friends, today I will say you “How to
play a video on your application”
To look our website good and attractive we
will add videos. In some situations we may need to say something to the users
in video form.
The following is the code for adding a
video to your application.
Video.aspx:
<asp:ScriptManager
ID="ScriptManager1"
runat="server"> </asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label ID="lblVideo"
runat="server"></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>
Video.aspx.cs:
lblVideo.Text
= "<iframe width=\"480\"
height=\"349\" src=\"https://www.youtube.com/embed/3LvknETNGcM\"
frameborder=\"0\" allowfullscreen></iframe>";
You can rate my class on right side top of my blog.......
-Your's santoshklpkl
No comments:
Post a Comment