ASP.NET - FLV播放器 [英] ASP.NET - FLV player

查看:160
本文介绍了ASP.NET - FLV播放器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关我们正在2个不同的网站,现在公司的网站之一,它有一个视频播放器,并从流本地FLV文件到客户端与web部件:的 http://www.aspnetflashvideo.com

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

现在第二个站点我们也希望有一个视频播放器,但这个没有本地文件,就应该从别的网站FLV文件传输到第二个网站的用户。

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>

这是可能的,如何?因为它似乎并不与web部件工作。

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

由于提前,

朱利安

推荐答案

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

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>

这篇关于ASP.NET - FLV播放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆