系统使用的服务器是IBM的WebSphere6.0,简单流程为
1、用户在页面选择视频文件进行上传
2、将用户上传的视频文件存放在服务器的/uploadVideos目录中,并将该视频的地址存放于数据库中,视频文件名使用UUID生成
3、用户在界面选择要播放的视频,然后点击播放按钮,就会填出一个页面并拿到该视频的URL放到vcastr3网页播放器中进行播放问题是:选择的视频无法播放,但路径是正确的,我也在WebSphere中配置了对应支持的SWF的MIME类型现象截图:页面播放代码如下:<body>
  <center>
<object type="application/x-shockwave-flash" data="<%=context %>/platform/video/vcastr3.swf" width="650" height="500" id="vcastr3">
<param name="movie" value="<%=context %>/platform/video/vcastr3.swf"/> 
<param name="allowFullScreen" value="true" />
<param name="FlashVars" value="xml=
<vcastr>
<channel>
<item>
<source><%=videoRealPath %></source>
<duration></duration>
<title><%=videoTitle %></title>
</item>
</channel>
<config>
<isShowAbout>false</isShowAbout>
</config>
<plugIns>
<logoPlugIn>
<url><%=context %>/platform/video/logoPlugIn.swf</url>
<logoText>Hi</logoText>
<logoTextAlpha>0.75</logoTextAlpha>
<logoTextFontSize>30</logoTextFontSize>
<logoTextLink>http://www.Hi.com</logoTextLink>
<logoTextColor>0xffffff</logoTextColor>
<textMargin>20 20 auto auto</textMargin>
</logoPlugIn>
</plugIns>
</vcastr>"/>
</object>
  </center>
</body>
其中vcastr3.swf和要播放的视频都是存在服务器中的,地址路径没问题。请各位大侠们帮帮忙看看哈,多谢!