將學習視頻播放問題

 

將學習視頻資源從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"] %>");
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章