您的位置:首页 > 其它

在线播放视频总结

2010-12-08 14:31 99 查看
在线视频播放 flowplayer,下载地址:http://flowplayer.org/

要求是视频资源必须是flv

codes: 只是模板,用于生成html的模板

注意:flv视频的位置必须处于某项目下

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>无标题文档</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<!-- flowplayer -->
<!--
include flowplayer JavaScript file that does
Flash embedding and provides the Flowplayer API.
-->
<mce:script type="text/javascript" src="/MySite/flowplayer/flowplayer-3.2.4.min.js" mce_src="MySite/flowplayer/flowplayer-3.2.4.min.js"></mce:script>
<!-- some minimal styling, can be removed -->
<link rel="stylesheet" type="text/css" href="/MySite/flowplayer/style.css" mce_href="MySite/flowplayer/style.css">
</head>
<body>
<div id="page">

<h1> $title$ </h1>

<p> $info$ </p>

<!-- this A tag is where your Flowplayer will be placed. it can be anywhere -->
<a
href="http://localhost/MySite$file_location$" mce_href="http://localhost/MySite$file_location$"
style="display:block;width:640;height:480px"
id="player">
</a>

<!-- this will install flowplayer inside previous A- tag. -->
<mce:script type="text/javascript"><!--
flowplayer("player", "/MySite/flowplayer/flowplayer-3.2.5.swf");

// --></mce:script>

</div>
</body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: