将学习视频播放问题

 

将学习视频资源从upload/resource调整到C6/Resource下面,具体步骤如下:
1.将web.config中的<add key="VideoPath" value="D:\JINHER\upload\Resource\elearning\" />调整到
<add key="VideoPath" value="D:\JINHER\c6\esource\elearning\" />下;
2.将upload中的Resource下的elearning复制到C6\Resource下;
3.将ftp中的E-Learning对应的目录指定到C6\Resource\elearning\course;
4.将VideoInfo.aspx页面中的
WebVideoFunction("ShowVedio.aspx?path=<%=Request["url"]%>", "flashContent","<%=Request["pBroadcastDate"] %>");注释掉
替换成
WebVideoFunction(window.location.href.split('?')[0].replace("JHSoft.Web.VideoStudy/VideoInfo.aspx","Resource/elearning<%=Request["url"] %>"), "flashContent","<%=Request["pBroadcastDate"] %>");

你可能感兴趣的:(学习,视频播放)