Play Video File Without Flash Player RRS feed

  • Question

  • User-807418713 posted


    This is my code of gridview to play mp4 files bit it in flash


    <asp:GridView ID="GV3" Width="350px" HeaderStyle-HorizontalAlign="Center"
                runat="server" ForeColor="Black" AutoGenerateColumns="false"   DataSourceID="SqlDataSource1" AllowPaging="True" PageSize="1" 
                    Font-Size = "12pt">
        <asp:TemplateField HeaderText="File Name">
                  <b style="font-size:small">  Title:- <%# Eval("Name") %> </b>
                <a class="player" style="height: 140px; width: 280px; display: block" href='<%# Eval("Id", "FileCS.ashx?Id={0}") %>'> 
                                    <ItemStyle ForeColor="Black"  Font-Size="Larger" HorizontalAlign="Left" />
                                </asp:TemplateField >
        <asp:HyperLinkField DataNavigateUrlFields="Id" Text = "Download File" ItemStyle-ForeColor="Red" 
            ItemStyle-Font-Size="Large" HeaderStyle-ForeColor="Black" DataNavigateUrlFormatString = "~/FileCS.ashx?Id={0}" HeaderText="Download" />
         <HeaderStyle  Font-Bold="True"  BackColor="Teal" ForeColor="White" />
                <PagerStyle CssClass="PageIndex" BackColor="Teal" ForeColor="White"
                    HorizontalAlign="Center" />
        <script src="FlowPlayer/flowplayer-3.2.12.min.js" type="text/javascript"></script>
        <script type="text/javascript">
            flowplayer("a.player", "FlowPlayer/flowplayer-3.2.16.swf", {
                plugins: {
                    pseudo: { url: "FlowPlayer/flowplayer.pseudostreaming-3.2.12.swf" }
                clip: { provider: 'pseudo', autoPlay: false},

    But we dont want flash player to play our MP4 files, so is any other player we can set in old asp.net 2.0 C#

    Need other player that run file directly without using flash player?

    Thanking You

    Sunday, June 28, 2020 2:23 PM


All replies