- CC视频插件安装说明
1. 如何安装cc视频插件?
1. 首先,先确认已经在CC视频联盟注册了用户并且已经获得了 UserID . 如果没有请先到 CC视频联盟进行注册 :P
2. 上传cc视频插件的相关文件上传到您的PJBlog中, (建议使用PJBlog 2.6进行安装)
- 安装包的文件列表
common\ubbcode.asp (该文件为系统文件,安装请留意安装注意事项)
Plugins\ccVideo\install.xml (插件安装文件)
Plugins\ccVideo\setting.xml (插件配置文件)
Plugins\ccVideo\help.htm (帮助文件)
Plugins\ccVideo\images\*.* (帮助相关图片)
common\ubbcode.asp (该文件为系统文件,安装请留意安装注意事项)
Plugins\ccVideo\install.xml (插件安装文件)
Plugins\ccVideo\setting.xml (插件配置文件)
Plugins\ccVideo\help.htm (帮助文件)
Plugins\ccVideo\images\*.* (帮助相关图片)
4. 发表视频文章.发表文章时选择UBBeditor,这是您可以看到编辑器会多一个发视频的按钮.点击此按钮就可以上传您的视频,或者在线录制您的视频短篇了.


2. 安装注意事项!
由于此插件会覆盖一个系统文件, common/ubbcode.asp 所以对于进行过pjblog二次开发或修改的用户就只能手动加上对 [cc][/cc] 标签的支持了
'CC Video 支持
re.Pattern="\[cc\](.*?)\[\/cc\]"
strContent= re.Replace(strContent,"<embed src=""http://union.bokecc.com/$1"" width=""438"" height=""387"" type=""application/x-shockwave-flash""></embed>")
re.Pattern="\[cc\](.*?)\[\/cc\]"
strContent= re.Replace(strContent,"<embed src=""http://union.bokecc.com/$1"" width=""438"" height=""387"" type=""application/x-shockwave-flash""></embed>")


