1

对于一家公司,我们正在制作 2 个不同的站点,现在其中一个站点中有一个 flv 播放器,并使用来自http://www.aspnetflashvideo.com的 webpart 将本地 flv 文件流式传输到客户端

现在在第二个站点上,我们还想要一个 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。

4

1 回答 1

0

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

<ASPNetFlashVideo:FlashVideo ID="FlashVideo1" runat="server" 
        VideoURL="http://flv.dumpert.nl/7649709f_YTDL_1.flv" >
</ASPNetFlashVideo:FlashVideo>
于 2011-04-21T11:29:48.493 回答