首先利用FTP软件,从空间下载首页模板到本机电脑。
FTP使用教程参考:http://www.cmseasy.cn/chm/chang-jian/show_224.html
模板目录结构参考:http://www.cmseasy.cn/chm/mo-ban/show_82.html
下载后,用Editplus软件打开 (编辑器下载地址:http://rj.baidu.com/soft/detail/12876.html)
打开首页模板后,将视频调用代码插入到网站模板需要显示视频的位置,保存模板文件后用FTP上传到空间替换原文件。
视频地址代码:
{get('flash_url')}
视频播放器完整代码:
<embed src="{get('flash_url')}" quality="high" width="216" height="176" align="middle" allowScriptAccess="always" allowFullScreen="true" mode="transparent" type="application/x-shockwave-flash"></embed>
其中数字216为视频播放器宽度,数字176为视频播放器高度,播放器宽高可根据需要自行设置。