<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="flowplayer-3.2.11.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<form id="form1" runat="server">
<%--<div>//简单调用
<a
href="flowplayer-700.flv"
style="display:block;width:520px;height:330px"
id="player">
</a> <script>
flowplayer("player", "flowplayer-3.2.12.swf", {
clip: {
autoPlay: false,
autoBuffering:true
}
});
</script>
</div>--%>
<div>
<a href="flowplayer-700.flv" style="display: block; width: 520px; height: 330px"
id="player"></a>
<script>
flowplayer("player", "flowplayer-3.2.12.swf", {//播放器主文件(根据项目定亦可引用:http://releases.flowplayer.org/swf/flowplayer-3.2.12.swf)
clip: {
          url: rtmp_name, //流的名称
          autoPlay: true,//自动播放  autoBuffering:true//是否开启缓冲  },
playlist: [//播放列表
{
url: "notfound.jpg",//默认显示图片(如果没有这显示播放视频的第一个画面)
//duration: 5,//持续时间
scaling: 'orig'//缩放
},
{
url: 'flowplayer-700.flv',//需要播放的文件
autoPlay: false,
provider: 'http',
autoBuffering: true
}
],
plugins: {
controls: {
bottom: 0,//功能条距底部的距离
height: 24, //功能条高度
zIndex: 1,
fontColor: '#ffffff',
timeFontColor: '#333333',
playlist: true,//上一个、下一个按钮
play:true, //开始按钮
volume: true, //音量按钮
mute: true, //静音按钮
stop: true,//停止按钮
fullscreen: true, //全屏按钮
scrubber: true,//进度条
url: "flowplayer.controls-3.2.12.swf", //决定功能条的显示样式(功能条swf文件,根据项目定亦可引用:http://releases.flowplayer.org/swf/flowplayer.controls-3.2.12.swf)
time: true, //是否显示时间信息
autoHide: true, //功能条是否自动隐藏
backgroundColor: '#aedaff', //背景颜色
backgroundGradient: [0.1, 0.1, 1.0], //背景颜色渐变度(等分的点渐变)
opacity: 0.5, //功能条的透明度
borderRadius: '30',//功能条边角
tooltips: {
buttons: true,//是否显示
fullscreen: '全屏',//全屏按钮,鼠标指上时显示的文本
stop:'停止',
play:'开始',
volume:'音量',
mute: '静音',
next:'下一个',
previous:'上一个'
}
}
}
});
</script> </div>
</form>
</body>
</html>

以上代码来自:http://www.cnblogs.com/qidq/archive/2012/07/19/flowplayer.html

flowplayer播放器还可以播放RTMP流媒体,代码如下:

            <a href="#" id="palyer3"></a>
<script>
flowplayer("palyer3", "Player/flowplayer-3.2.8.swf", {
clip: {
url: rtmp_name, //流的名称
provider: 'rtmp',
live: true,
},
plugins: {
rtmp: {
url: 'Player/flowplayer.rtmp-3.2.8.swf',
netConnectionUrl: rtmp_path
},
controls: {
play: false, opacity: 0, scrubber: false, volume: false, mute: false
}
}
});
}
</script>

FlowPlayer 参数说明的更多相关文章

  1. 《连载 | 物联网框架ServerSuperIO教程》2.服务实例的配置参数说明

    1.C#跨平台物联网通讯框架ServerSuperIO(SSIO)介绍  <连载 | 物联网框架ServerSuperIO教程>1.4种通讯模式机制 一.综述 SuperIO(SIO)定位 ...

  2. JQuery UI dialog 弹窗实例及参数说明

    按钮代码: <a id="suprise" style="margin-left: 0.5em;cursor:pointer;">点我会有惊喜< ...

  3. 服务器.htaccess 详解以及 .htaccess 参数说明(转载)

    htaccess文件(或者”分布式配置文件”)提供了针对目录改变配置的方法, 即,在一个特定的文档目录中放置一个包含一个或多个指令的文件, 以作用于此目录及其所有子目录.作为用户,所能使用的命令受到限 ...

  4. Mongodb启动命令mongod参数说明

    Mongodb启动命令mongod参数说明 mongod的主要参数有: 基本配置 ----------------------------------------------------------- ...

  5. Connect to Database Using Custom params链接数据库配置参数说明

    使用RF的关键字Connect to Database Using Custom params链接数据库,对应的参数说明: a)     第一个参数我使用的是cx_Oracle,就写这个 b)     ...

  6. .htaccess详解及.htaccess参数说明【转】

    目录(?)[-] htaccess 详解 htaccess rewrite 规则详细说明 RewriteEngine OnOff RewriteBase URL-path RewriteCond Te ...

  7. 转载《SimpleAdapter的参数说明》

    SimpleAdapter的参数说明 第一个参数 表示访问整个android应用程序接口,基本上所有的组件都需要 第二个参数表示生成一个Map(String ,Object)列表选项 第三个参数表示界 ...

  8. Redis配置文件参数说明

    Redis配置文件参数说明   1. Redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes启用守护进程 daemonize no 2. 当Redis以守护进程方式运行时,Redis ...

  9. mosquitto_pub和mosquitto_sub 命令参数说明

    mosquitto_pub 命令参数说明 1. -d  打印debug信息 2. -f  将指定文件的内容作为发送消息的内容 3. -h  指定要连接的域名  默认为localhost 4. -i   ...

随机推荐

  1. android 状态栏(StatusBar)

    一.SystemUI 概述 自 android2.2 开始 , 原本存在与 framework-res.apk 中的状态栏和下拉通知栏界面控制被分割出一个单独的 apk 文件 , 命名为 System ...

  2. opencv 用户文档 错误更正 仿射变换

    今天在看opencv官方给出的仿射变换计算仿射变换矩阵的文档的时候,发现官方文档中有个很明显的错误,再次给大家提个醒. 官方文档连接: http://opencv.willowgarage.com/d ...

  3. Signing key has not been configured

    Signing key has not been configured.https://dev.openwrt.org/changeset/38284 Add package signing key ...

  4. ASPNET登陆总结

    昨天晚上看了视频,今天早上起来就凭着记忆与视频里的代码试着做了一个登陆,基本功能是实现了. 0x0:首先,第一步是做一个界面....直接扒别人做好的页面.....各种改改路径啥的,用浏览器打开,恩,发 ...

  5. 我是企业号体验账户 我发送消息:微信错误 errcode=60011,

    http://qydev.weixin.qq.com/qa/index.php?qa=3197&qa_1=%E6%88%91%E6%98%AF%E4%BC%81%E4%B8%9A%E5%8F% ...

  6. shell如何将文件上传至ftp

    #!/bin/bash ip=$ port=$ user=$ /usr/bin/lftp -p $port $ip <<EOF user $user $pwd set ftp:ssl-au ...

  7. [LeetCode] 219. Contains Duplicate II 解题思路

    Given an array of integers and an integer k, find out whether there are two distinct indices i and j ...

  8. Assertions

    JUnit提供了许多重载的断言方法,这些方法均可以通过"import static org.junit.Assert.*"导入.方法的参数顺序一般都是([失败时打印的字符串消息], ...

  9. 百度地图点聚合MarkerClusterer,性能优化

    参考文献:http://www.cnblogs.com/lightnull/p/6184867.html 百度的点聚合算法 是基于方格和距离的聚合算法,即开始的时候地图上没有任何已知的聚合点,然后遍历 ...

  10. Unity3D NGUI UIPlayTween控件(一)动态打开关闭窗口

    利用NGUI自带的脚本控件实现按钮点击窗口滑动出现与隐藏. 创建界面 首先建立如下图的三个BUtton与三个Panel 绑定脚本 然后在每个Button上添加UIPlayTween脚本,在Intera ...