X龙@China .Net 'blog

需要的不仅仅是工作,而是通过努力得来的美好将来。
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

页面中嵌入MediaPlayer播放器

Posted on 2010-04-21 16:57  X龙  阅读(269)  评论(0编辑  收藏  举报
代码
<object id="MediaPlayer1" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="620"
        height
="460" viewastext>
        
<param name="filename" value="<%=MediaSrc%>">
        
<param name="AutoStart" value="1">
        
<param name="Enabled" value="-1">
        
<param name="ShowControls" value="-1">
        
<param name="ShowGotoBar" value="0">
        
<param name="ShowStatusBar" value="-1">
        
<param name="EnableFullScreenControls" value="0"><!--是否允许全屏播放,1:允许-->
        
<param name="EnablePositionControls" value="0">
        
<param name="Volume" value="0">
        
<param name="DisplaySize" value="4">
        
<param name="SendErrorEvents" value="0">
        
<param name="enableContextMenu" value="0">
        
<param name="EnableTracker" value="-1">
        
<param name="AudioStream" value="-1">
        
<param name="AutoSize" value="0">
        
<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="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="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="ShowAudioControls" value="-1">
        
<param name="ShowDisplay" value="0">
        
<param name="ShowPositionControls" 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="WindowlessVideo" value="0">
    
</object>

 

点击这里给我发消息http://wp.qq.com/index.html