.net局域网视频播放问题
我制作了一个.net网站,在我的机器上访问一切正常,无论是127.0.0.1还是用ip,我已经禁用了防火墙,杀毒用的是金山,但是在局域网的其它机器上,可以正常访问网站,唯独看不了视频,我的视频是从数据库读取地址播放,其它机器看不了,为此我做了一个静态页面测试,还是看不了
下面是的我视频播放器的代码,
<object class="OBJECT" id="MediaPlayer" align="middle"
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
<param name="AudioStream" value="-1" />
<param name="AutoSize" value="0" />
<param name="AutoStart" value="-1" />
<param name="AnimationAtStart" value="-1" />
<param name="AllowScan" value="-1" />
<param name="AllowChangeDisplaySize" value="-1" />
<param name="AutoRewind" value="0" />
<param name="Balance" value="0" />
<param name="BaseURL" value="" />
<param name="BufferingTime" value="5" />
<param name="CaptioningID" value="" />
<param name="ClickToPlay" value="-1" />
<param name="CursorType" value="0" />
<param name="CurrentPosition" value="-1" />
<param name="CurrentMarker" value="0" />
<param name="DefaultFrame" value="" />
<param name="DisplayBackColor" value="0" />
<param name="DisplayForeColor" value="16777215" />
<param name="DisplayMode" value="0" />
<param name="DisplaySize" value="4" />
<param name="Enabled" value="-1" />
<param name="EnableContextMenu" value="-1" />
<param name="EnablePositionControls" value="-1" />
<param name="EnableFullScreenControls" value="0" />
<param name="EnableTracker" value="-1" />
<param name="Filename" value="<%=videoaddress%>">
<param name="InvokeURLs" value="-1" />
<param name="Language" value="-1" />
<param name="Mute" value="0" />
<param name="PlayCount" value="1" />
<param name="PreviewMode" value="0" />
<param name="Rate" value="1" />
<param name="SAMILang" value="" />
<param name="SAMIStyle" value="" />
<param name="SAMIFileName" value="" />
<param name="SelectionStart" value="-1" />
<param name="SelectionEnd" value="-1" />
<param name="SendOpenStateChangeEvents" value="-1" />
<param name="SendWarningEvents" value="-1" />
<param name="SendErrorEvents" value="-1" />
<param name="SendKeyboardEvents" value="0" />
<param name="SendMouseClickEvents" value="0" />
<param name="SendMouseMoveEvents" value="0" />
<param name="SendPlayStateChangeEvents" value="-1" />
<param name="ShowCaptioning" value="0" />
<param name="ShowControls" value="-1" />
<param name="ShowAudioControls" value="-1" />
<param name="ShowDisplay" value="0" />
<param name="ShowGotoBar" value="0" />
<param name="ShowPositionControls" value="-1" />
<param name="ShowStatusBar" value="-1" />
<param name="ShowTracker" value="-1" />
<param name="TransparentAtStart" value="0" />
<param name="VideoBorderWidth" value="0" />
<param name="VideoBorderColor" value="0" />
<param name="VideoBorder3D" value="0" />
<param name="Volume" value="-600" />
<param name="WindowlessVideo" value="0" />
<embed type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
flename="mp" src="/Images/xuanchuan.WMV" width="810" height="670"> </embed>
</object>
[解决办法]
试试把你的视频直接用Windows Media打开url播放,如果这个是正常,那么应该找找插件的问题
如果不是,那就要检查视频了