您好,欢迎访问三七文档
网页视频播放器代码<objectalign=middleclassid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95class=OBJECTid=MediaPlayerwidth=196height=196><paramname=ShowStatusBarvalue=0><paramname=Filenamevalue=G:\c\实训\巧妙拆弹.avi><embedtype=application/x-oleobjectcodebase==5,1,52,701></embed></object>参考资料:=2其他参考:网页视频播放器代码大全网页mtv播放器代码一.RM格式(无边框按钮)RealPlayer代码如下:<OBJECTID=video1CLASSID=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFAHEIGHT=288WIDTH=352><paramname=_ExtentXvalue=9313><paramname=_ExtentYvalue=7620><paramname=AUTOSTARTvalue=1><!--AUTOSTART不自动播放为0,自动播放为1--><paramname=SHUFFLEvalue=0><paramname=PREFETCHvalue=0><paramname=NOLABELSvalue=0><paramname=SRCvalue=起点站长网<!--播放文件地址--><paramname=CONTROLSvalue=ImageWindow><paramname=CONSOLEvalue=Clip1><paramname=LOOPvalue=0><paramname=NUMLOOPvalue=0><paramname=CENTERvalue=0><paramname=MAINTAINASPECTvalue=0><paramname=BACKGROUNDCOLORvalue=#000000><embedSRCtype=audio/x-pn-realaudio-pluginCONSOLE=Clip1CONTROLS=ImageWindowHEIGHT=288WIDTH=352AUTOSTART=false></OBJECT>成功站长网二.RM格式(带边框按钮)RealPlayer代码如下:<objectid=vidclassid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFAwidth=427height=300><paramname=_ExtentXvalue=11298/><paramname=_ExtentYvalue=7938/><paramname=AUTOSTARTvalue=-1/><!--AUTOSTART0为打开页面处于待命状态,为-1时打开页面直接播放--><paramname=SHUFFLEvalue=0/><paramname=PREFETCHvalue=0/><paramname=NOLABELSvalue=-1/><paramname=SRCvalue=中国站长网<!--播放文件地址--><paramname=CONTROLSvalue=Imagewindow/><paramname=CONSOLEvalue=clip1/><paramname=LOOPvalue=0/><paramname=NUMLOOPvalue=0/><paramname=CENTERvalue=0/><paramname=MAINTAINASPECTvalue=0/><paramname=BACKGROUNDCOLORvalue=#000000/></object><br/><objectid=vid2classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFAwidth=427height=30><paramname=_ExtentXvalue=11298/><paramname=_ExtentYvalue=794/><paramname=AUTOSTARTvalue=-1/><paramname=SHUFFLEvalue=0/><paramname=PREFETCHvalue=0/><paramname=NOLABELSvalue=-1/><paramname=SRCvalue=!--播放文件地址--><paramname=CONTROLSvalue=ControlPanel/><paramname=CONSOLEvalue=clip1/><paramname=LOOPvalue=0/><paramname=NUMLOOPvalue=0/><paramname=CENTERvalue=0/><paramname=MAINTAINASPECTvalue=0/><paramname=BACKGROUNDCOLORvalue=#000000/></object>三.WMV格式(带边框按钮)WindowsMediaPlayer代码如下:站长启航网<objectclassid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95codebase==6,1,5,217id=MediaPlayertype=application/x-oleobjectwidth=427height=329standby=LoadingMicrosoftWindowsMediaPlayercomponents...VIEWASTEXTalign=MIDDLE><paramname=AudioStreamvalue=-1><paramname=AutoSizevalue=0><paramname=AutoStartvalue=1><paramname=AnimationAtStartvalue=0><paramname=AllowScanvalue=-1><paramname=AllowChangeDisplaySizevalue=0><paramname=AutoRewindvalue=0><paramname=Balancevalue=0>中国站长网<paramname=BaseURLvalue=><paramname=BufferingTimevalue=5><paramname=CaptioningIDvalue=><paramname=ClickToPlayvalue=0><paramname=CursorTypevalue=32512><paramname=CurrentPositionvalue=-1><paramname=CurrentMarkervalue=0><paramname=DefaultFramevalue=1><paramname=DisplayBackColorvalue=0><paramname=DisplayForeColorvalue=16777215><paramname=DisplayModevalue=0><paramname=DisplaySizevalue=0><paramname=Enabledvalue=-1><paramname=EnableContextMenuvalue=-1><paramname=EnablePositionControlsvalue=0><paramname=EnableFullScreenControlsvalue=0><paramname=EnableTrackervalue=1><paramname=Filenamevalue=!--播放文件地址--><paramname=InvokeURLsvalue=-1><paramname=Languagevalue=-1><paramname=Mutevalue=0><paramname=PlayCountvalue=1><paramname=PreviewModevalue=0><paramname=Ratevalue=1><paramname=SelectionStartvalue=0><paramname=SelectionEndvalue=true><paramname=SendOpenStateChangeEventsvalue=-1><paramname=SendWarningEventsvalue=-1><paramname=SendErrorEventsvalue=-1><paramname=SendKeyboardEventsvalue=0><paramname=SendMouseClickEventsvalue=0><paramname=SendMouseMoveEventsvalue=0><paramname=SendPlayStateChangeEventsvalue=-1><paramname=ShowCaptioningvalue=0><paramname=ShowControlsvalue=1><paramname=ShowPositionControlsvalue=1><paramname=ShowStatusBarvalue=1><paramname=ShowTrackervalue=1><paramname=TransparentAtStartvalue=0><
本文标题:网页视频播放器代码
链接地址:https://www.777doc.com/doc-3157034 .html