电脑故障

位置:IT落伍者 >> 电脑故障 >> 浏览文章

各种网页播放器代码大全


发布日期:2023/5/8
 
rm文件在线播放

<embed height= /biyun/ren/arm type=audio/xpnrealaudioplugin width= autostart=false controls=PlayButton>

autostart=false 打开页面时处于候命状态autostart=true 打开页面时马上听声音 height= width= 有不同数值播放器面板有些不同

midiauavi文件在线播放

<EMBED SRC=~biyun/wlsd/wy/yinyue/H/mid; width= height= AUTOSTART=TRUE>autostart=false 打开页面时处于候命状态autostart=true 打开页面时马上听声音 height= width= 有不同数值播放器面板有些不同

asf文件在线播放

<html>

<head>

<meta httpequiv=ContentType content=text/html; charset=gb>

<title></title>

</head>

<body topmargin= leftmargin=>

<object classid=clsid:DFBFDABCCE codebase=#Version= height= id=NSPlay name=NSPlay type=application/xoleobject width= VIEWASTEXT standby=Loading Microsoft Windows Media Player components border=><param name=AudioStream value=>

<param name=AutoSize value=>

<param name=AutoStart value=>

<param name=AnimationAtStart value=>

<param name=AllowScan value=>

<param name=AllowChangeDisplaySize value=>

<param name=AutoRewind value=>

<param name=Balance value=>

<param name=BaseURL value>

<param name=BufferingTime value=>

<param name=CaptioningID value>

<param name=ClickToPlay value=>

<param name=CursorType value=>

<param name=CurrentPosition value=>

<param name=CurrentMarker value=>

<param name=DefaultFrame value>

<param name=DisplayBackColor value=>

<param name=DisplayForeColor value=>

<param name=DisplayMode value=>

<param name=DisplaySize value=>

<param name=Enabled value=>

<param name=EnableContextMenu value=>

<param name=EnablePositionControls value=>

<param name=EnableFullScreenControls value=>

<param name=EnableTracker value=>

<param name=Filename value=;>

<param name=InvokeURLs value=>

<param name=Language value=>

<param name=Mute value=>

<param name=PlayCount value=>

<param name=PreviewMode value=>

<param name=Rate value=>

<param name=SAMILang value>

<param name=SAMIstyle value>

<param name=SAMIFileName value>

<param name=SelectionStart value=>

<param name=SelectionEnd value=>

<param name=SendOpenStateChangeEvents value=>

<param name=SendWarningEvents value=>

<param name=SendErrorEvents value=>

<param name=SendKeyboardEvents value=>

<param name=SendMouseClickEvents value=>

<param name=SendMouseMoveEvents value=>

<param name=SendPlayStateChangeEvents value=>

<param name=ShowCaptioning value=>

<param name=ShowControls value=>

<param name=ShowAudioControls value=>

<param name=ShowDisplay value=>

<param name=ShowGotoBar value=>

<param name=ShowPositionControls value=>

<param name=ShowStatusBar value=>

<param name=ShowTracker value=>

<param name=TransparentAtStart value=>

<param name=VideoBorderWidth value=>

<param name=VideoBorderColor value=>

<param name=VideoBorderD value=>

<param name=Volume value=>

<param name=WindowlessVideo value=>

</object>

其中<param name=AutoStart value=> 为打开页面处于待命状态时打开页面直接播放 </body>

</html>

流式收听mp方法 把上面的的文件另存为*.m3u,就可实现在线播放*.mp3(支持连续播放)

mpeg影象在线播放:

等等,让它下载<img border="0" dynsrc=";

" start="fileopen">

rm影像在线播放 代码:

<object id="vid" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width=114 height=100>

<param name="_ExtentX" value="3016">

<param name="_ExtentY" value="2646">

<param name="AUTOSTART" value="-1">

<param name="SHUFFLE" value="0">

<param name="PREFETCH" value="0">

<param name="NOLABELS" value="-1">

<param name="SRC" value="";>

<param name="CONTROLS" value="Imagewindow">

<param name="CONSOLE" value="clip1">

<param name="LOOP" value="0">

<param name="NUMLOOP" value="0">

<param name="CENTER" value="0">

<param name="MAINTAINASPECT" value="0">

<param name="BACKGROUNDCOLOR" value="#000000">

</object>

加几个控制器

<object id="vid" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width=427 height=300>

<param name="_ExtentX" value="11298">

<param name="_ExtentY" value="7938">

<param name="AUTOSTART" value="-1">

<param name="SHUFFLE" value="0">

<param name="PREFETCH" value="0">

<param name="NOLABELS" value="-1">

<param name="SRC" value="";>

<param name="CONTROLS" value="Imagewindow">

<param name="CONSOLE" value="clip1">

<param name="LOOP" value="0">

<param name="NUMLOOP" value="0">

<param name="CENTER" value="0">

<param name="MAINTAINASPECT" value="0">

<param name="BACKGROUNDCOLOR" value="#000000">

</object> <object id="vid2" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width=427 height=30>

<param name="_ExtentX" value="11298">

<param name="_ExtentY" value="794">

<param name="AUTOSTART" value="-1">

<param name="SHUFFLE" value="0">

<param name="PREFETCH" value="0">

<param name="NOLABELS" value="-1">

<param name="SRC" value="";>

<param name="CONTROLS" value="ControlPanel">

<param name="CONSOLE" value="clip1">

<param name="LOOP" value="0">

<param name="NUMLOOP" value="0">

<param name="CENTER" value="0">

<param name="MAINTAINASPECT" value="0">

<param name="BACKGROUNDCOLOR" value="#000000">

</object>

连续播放歌曲

--------------------------------------------------------------------------------

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1" width="286" height="225">

<param name="AudioStream" value="-1">

<param name="AutoSize" value="-1">

<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="0">

<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>

<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="0">

<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">

</object>

上一篇:使用缓沖提高输入/输出的性能

下一篇:O/R Mapping