[Solved] Play Video using Adobe Flash Player is not working

makumbi
 
on Dec 08, 2022 05:30 AM
506 Views

I was trying to play video using adobe flash play but on trying to download it, it is say that it is no longer supported by the developers is there another way of playing a video stored in the database using other means thanks in advance.

How can i change my code to support other media players?

Thanks

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ClassVideo.aspx.vb" Inherits="OPAC.ClassVideo" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table class="auto-style1">
                <tr>
                    <td class="auto-style2">
                        <asp:Label ID="Classr" runat="server"></asp:Label>
                    </td>
                    <td class="auto-style2">
                        <asp:Label ID="Stream" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>

        </div>
    <div>
    <hr />
    <asp:DataList ID="DataList1" Visible="true" runat="server" AutoGenerateColumns="false"
        RepeatColumns="2" CellSpacing="5">
        <ItemTemplate>
            <u>
                <%# Eval("Name") %></u>
            <hr />
            <a class="player" style="height: 200px; width: 200px; display: block" href='<%# Eval("Id", "FileVB.ashx?Id={0}") %>'>
            </a>
        </ItemTemplate>
    </asp:DataList>
    
            <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},
        });
    </script>

    </div>
         <asp:Panel ID="pnlPager" runat="server" Height="20px" Width="153px">

    <asp:LinkButton ID="lnkPrev" runat="server" CommandName = "Previous"

        Text = "<< Previous" OnClick = "Pager_Click"></asp:LinkButton>

    &nbsp;

    <asp:LinkButton ID="lnkNext" runat="server" CommandName = "Next"

        Text = "Next >>"  OnClick = "Pager_Click"></asp:LinkButton>

</asp:Panel>
    </form>
    
</body>
</html>

 

Download FREE API for Word, Excel and PDF in ASP.Net: Download
dharmendr
 
on Dec 08, 2022 05:34 AM

Adobe no longer supports Flash Player after December 31, 2020 and blocked Flash content from running in Flash Player beginning January 12, 2021.

Use HTML5 Video Player. Refer the article.

Upload and Play (Live Stream) MP4 Video files from Database using HTML5 Video Player in ASP.Net using C# and VB.Net