Click here to Skip to main content
15,904,024 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to use jQuery Media Plugin (http://jquery.malsup.com/media/#overview) in my .aspx page. Presently I have managed that video using windows media plugin like below.

XML
<asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="False"
                        PageSize="5" AllowPaging="True"                        onpageindexchanging="GridView3_PageIndexChanging">
        <Columns>
<asp:BoundField DataField="vdo_id" HeaderText="Video ID" />
            <asp:TemplateField HeaderText="FilePath" SortExpression="vediopath">
    <ItemTemplate>
        <asp:Panel ID="Panel_MediaPlayer" runat="server" Visible="true">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" ShowStatusBar="true" EnableContextMenu="false" autostart="false" width="320" height="240" loop="false" src='<%# Eval("vdo_path") %>' />
        </asp:Panel>
   </ItemTemplate>
</asp:TemplateField>
            <asp:BoundField DataField="vdo_desc" HeaderText="Video Description" />
             <asp:BoundField DataField="DOE" HeaderText="Entry Date" />
        </Columns>
</asp:GridView>
Posted

1 solution

It can be used to embed virtually any media type, including Flash, Quicktime, Windows Media Player, Real Player, MP3, Silverlight, PDF and more, into a web page. The plugin converts an element (usually an <a></a>) into a <div> </div>which holds the object, embed or iframe tags neccessary to render the media content.
You can complete practical example from given reference link
Reference Link :-http://aspnetvisual.blogspot.com/2011/10/jquery-media-plugin.html[]
 
Share this answer
 
Comments
sahabiswarup 9-Dec-11 22:51pm    
Thanks for the above link.
RaviRanjanKr 10-Dec-11 6:16am    
Most welcome :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900