5.4 动易CMS

 

动易 SiteFactory 内容管理系统(英文名称:PowerEasy SiteFactory)是具有灵活的产品架构、严密的安全性、无限的扩展性和伸缩性,能够高效构建起各种信息资讯类网站、企业内部知识网站、企业信息/产品展示门户网站。

前期工作:请将下载的播放器文件( 点此下载(2016-5-9更新)),解压后,将player目录,上传到你网站根目录下,使得自带的测试用页面 http://www.你的网站.com/player/index.html 可以正常打开,参考如下图:

上图中,要用到的代码参考如下:
<!--player/begin-->
<script type="text/javascript" src="/player/js/swfobject.js"></script>
<div class="video" id="CuPlayer" style="width:600px;margin:0 auto;"><b>网页视频播放器加载中,请稍后...</b></div>
<script type="text/javascript">
var so = new SWFObject("/player/player.swf","ply","600","400","9","#000000");
so.addParam("allowfullscreen","true");
so.addParam("allowscriptaccess","always");
so.addParam("wmode","opaque");
so.addParam("quality","high");
so.addParam("salign","lt");
so.addVariable("JcScpFile","/Player/CuSunV4set.xml");
so.addVariable("JcScpVideoPath","{PE.Field id="cone" fieldname="flvurl" /}");
so.addVariable("JcScpImg","/Player/Images/flashChangfa2.jpg");
so.write("CuPlayer");
</script>
<!--player/end-->

上图中,要用到的代码参考如下:
<flvurl>
<xsl:value-of select="/NewDataSet/Table/flvurl"/>
</flvurl>

大功告成啦,是不是很容易?