ASP.NET - FLV 播放器

发布于 2024-10-01 19:04:23 字数 1121 浏览 0 评论 0原文

对于一家公司,我们正在制作 2 个不同的网站,现在其中一个网站中有一个 flv 播放器,并将本地 flv 文件通过 Web 部件传输到客户端: http://www.aspnetflashvideo.com

现在,在第二个网站上,我们还需要一个 flv 播放器,但这个播放器没有本地文件,它应该将 flv 文件从其他网站流式传输给用户这第二个网站的。

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="ASPNetFlashVideo.NET3" Namespace="ASPNetFlashVideo" TagPrefix="ASPNetFlashVideo" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <ASPNetFlashVideo:FlashVideo ID="FlashVideo1" runat="server" 
            VideoURL="http://flv.dumpert.nl/7649709f_YTDL_1.flv.flv" >

        </ASPNetFlashVideo:FlashVideo>
    </div>
    </form>
</body>
</html>

这可能吗?如何实现?因为它似乎不适用于 webpart。

For a company we are making 2 different sites, now one of those sites got an flv player in it and streams local flv files to the clients with the webpart from: http://www.aspnetflashvideo.com

Now on the second site we also want an flv player but this one without local files, it should stream the flv file from the other website to the users of this second website.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="ASPNetFlashVideo.NET3" Namespace="ASPNetFlashVideo" TagPrefix="ASPNetFlashVideo" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <ASPNetFlashVideo:FlashVideo ID="FlashVideo1" runat="server" 
            VideoURL="http://flv.dumpert.nl/7649709f_YTDL_1.flv.flv" >

        </ASPNetFlashVideo:FlashVideo>
    </div>
    </form>
</body>
</html>

Is this possible and how? Because it doesn't seem to work with the webpart.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无人问我粥可暖 2024-10-08 19:04:23

我可能完全偏离了轨道,但看起来你的视频网址的文件扩展名有两次......尝试:

<ASPNetFlashVideo:FlashVideo ID="FlashVideo1" runat="server" 
        VideoURL="http://flv.dumpert.nl/7649709f_YTDL_1.flv" >
</ASPNetFlashVideo:FlashVideo>

I may be completely off track here, but it looks like your Video Url has the file extension in twice... Try:

<ASPNetFlashVideo:FlashVideo ID="FlashVideo1" runat="server" 
        VideoURL="http://flv.dumpert.nl/7649709f_YTDL_1.flv" >
</ASPNetFlashVideo:FlashVideo>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文