5D艺术网首页
商城
|
资讯
|
作品
|
博客
|
教程
|
论坛
登录
注册
加为好友
发短消息
来自:
性别:秘密
最后登录:2011-03-18
http://ebaby.5d.cn/
首页
|
新闻
|
话题
|
博客
|
相册
|
艺术作品
|
社交关系
|
留言板
|
社交圈
2005/05/27 | [转]各种网页播放器代码大全
类别(我的工作)
|
评论
(0)
|
阅读(209)
|
发表于 13:25
<embed src="http://wmt2.aboutmedia.com.tw
/Aboutmedia/warner/mtv/naying-021011_01v_120k.wmv";; autostart="true" loop="true" width="200" height="150" >
把这个网址http://wmt2.aboutmedia.com.tw/Aboutmedia/warner/mtv/naying-021011_01v_120k.wmv换成你要看的电影就行了
有图像的rm格式:
<OBJECT classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' height=288 id=video1 width=305 VIEWASTEXT>
<param name='_ExtentX' value='5503'>
<param name='_ExtentY' value='1588'>
<param name='AUTOSTART' value='-1'>
<param name='SHUFFLE' value='0'>
<param name='PREFETCH' value='0'>
<param name='NOLABELS' value='0'>
<param name='SRC' value='http://media.cdut.edu.cn/ram/new/xiaoxin1.ram'>
<param name='CONTROLS' value='Imagewindow,StatusBar,ControlPanel'>
<param name='CONSOLE' value='RAPLAYER'>
<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>
无图像的rm格式:如相声,歌曲。。。
<object ID='video2' WIDTH='300' HEIGHT='62' CLASSID='CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA'>
<param name='_ExtentX' value='9657'>
<param name='_ExtentY' value='847'>
<param name='AUTOSTART' value='-1'>
<param name='SHUFFLE' value='0'>
<param name='PREFETCH' value='0'>
<param name='NOLABELS' value='0'>
<param name='SRC' value='http://210.242.69.206/ramgen/broadcast/BCC/encoder/hipop.rm'>
<param name='CONTROLS' value='StatusBar,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>
最简单的media格式的播放器。。自动识别有无图像,但是版本是你机器的!
<embed src='mms://61.175.132.221/tv/mtv/f4/makeawish.wmv' width=200 height=200 autostart=true loop=true></embed>
autostart="false"打开网页时处于待命状态,autostart="true"打开网页即可播放
有图像的media播放器,自动调用网上的插件。
<object id=nstv classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' width=280 height=265 codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading Microsoft? Windows Media? Player components... type=application/x-oleobject>
<param name='URL' value='http://202.99.11.42/xiangsheng/ymjr.wma'>
<PARAM NAME='UIMode' value='full'><PARAM NAME='AutoStart' value='true'>
<PARAM NAME='Enabled' value='true'>
<PARAM NAME='enableContextMenu' value='false'>
<param name='WindowlessVideo' value='true'></object>
无图像的media播放器。。。同上。
<object id=nstv classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' width=280 height=60 codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading Microsoft? Windows Media? Player components... type=application/x-oleobject>
<param name='URL' value='http://202.99.11.42/xiangsheng/ymjr.wma'>
<PARAM NAME='UIMode' value='full'><PARAM NAME='AutoStart' value='true'>
<PARAM NAME='Enabled' value='true'>
<PARAM NAME='enableContextMenu' value='false'>
</object>
只是界面不同的media的调插件播放器。。建议不用这个,,你可以看!
<embed src='http://av.wanwa.com/fileroot/AV/Ramfiles/23809.ram' type='audio/x-pn-realaudio-plugin' console='Clip1' controls='ControlPanel,StatusBar' height='60' width='275' autostart='true'></embed>
<html>
<head>
<title></title>
<meta name="generator" content="Microsoft FrontPage 5.0">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--BGM Script Includes-->
<script LANGUAGE=javascript src="http://xudengwen.y365.com/bgm_system.js">
</script>
<script language=javascript>
//选择歌曲播放形式
//0 ->按照歌曲排列顺序播放
//1 ->随机播放
var playMode = 1;
//每首歌之间的休息时间(秒)
var restLength = 1;
//是否显示歌曲名称
var showTitle = 0;
//是否歌曲一载入就自动播放
var doFirstPlay = 1;
//以下是连接歌曲URL语法(可增加/减少,但每首歌的播放时间数字一定不能相同)
//歌曲类型最好是WMA MIDI & ASF!
//addbgm('歌曲连接位置', '歌手-歌曲名称', 播放时间数字[以秒为单位]);
//(例如) addbgm('http://www.server.com/folder/file.wma','Artist - Title',123);
addbgm('http://www.lcyz.cn/yypd/tzdn.mp3','老狼-同桌的你',230);
addbgm('http://music.happy895.com/dalu/l/811447.asf','老狼-晴朗',300);
addbgm('http://www.zmdxs.gov.cn/jt/mp3/1-10.mp3','老狼-睡在我上铺的兄弟',200);
</script>
<!--End script-->
</head>
<!--BODY 里的 OnLoad="init_bgm()" 为程式语法之一, 请勿删除哦!-->
<body bgcolor="#3A3F42" text="#6794BC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" OnLoad="init_bgm()" >
<!--BGM Script BODY Start-->
<form name="form1">
<!--以下语法最好不要修改-->
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="1" height="1" vspace="1" hspace="1" align="middle" id="Music" style="left:0px; top:0px;">
<param name="AllowChangeDisplaySize" value="true">
<param name="AllowScan" value="true">
<param name="AnimationAtStart" value="true">
<param name="AudioStream" value="-1">
<param name="AutoRewind" value="true">
<param name="AutoSize" value="false">
<param name="AutoStart" value="true">
<param name="Balance" value="0">
<param name="BufferingTime" value="5">
<param name="ClickToPlay" value="true">
<param name="CurrentMarker" value="0">
<param name="CurrentPosition" value="-1">
<param name="CursorType" value="0">
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="2">
<param name="EnableContextMenu" value="true">
<param name="Enabled" value="true">
<param name="EnableFullScreenControls" value="false">
<param name="EnablePositionControls" value="true">
<param name="EnableTracker" value="true">
<param name="InvokeURLs" value="true">
<param name="Language" value="-1">
<param name="Mute" value="false">
<param name="PlayCount" value="1">
<param name="PreviewMode" value="false">
<param name="Rate" value="1">
<param name="SelectionEnd" value="-1">
<param name="SelectionStart" value="-1">
<param name="SendErrorEvents" value="true">
<param name="SendKeyboardEvents" value="false">
<param name="SendMouseClickEvents" value="true">
<param name="SendMouseMoveEvents" value="false">
<param name="SendOpenStateChangeEvents" value="true">
<param name="SendPlayStateChangeEvents" value="true">
<param name="SendWarningEvents" value="true">
<param name="ShowAudioControls" value="true">
<param name="ShowCaptioning" value="false">
<param name="ShowControls" value="true">
<param name="ShowDisplay" value="false">
<param name="ShowGotoBar" value="false">
<param name="ShowPositionControls" value="true">
<param name="ShowStatusBar" value="true">
<param name="ShowTracker" value="true">
<param name="TransparentAtStart" value="false">
<param name="VideoBorder3D" value="true">
<param name="VideoBorderColor" value="0">
<param name="VideoBorderWidth" value="0">
<param name="Volume" value="2000">
<param name="WindowlessVideo" value="false"></object>
<input name="stitle" type="text" style="font-family:Arial; font-size:8pt; color:#6794BC; background-color:#FFFFFF(107,194,255); border-width:0px;" value="Shinobu BGM Player 1.5 [ready]" size="20" readonly="readonly">
<a href="#" onClick = "preTrack();" onMouseOver="window.status=('Previous Track'); return true;" onMouseOut="window.status=(''); return true;"><img src="forward.gif" border="0" align="middle" width="13" height="13" alt="上一首"></a>
<a href="#" onClick = "stopTrack();" onMouseOver="window.status=('Stop BGM'); return true;" onMouseOut="window.status=(''); return true;"><img src="stop.gif" border="0" align="middle" width="13" height="13" alt="暂停"></a>
<a href="#" onClick = "play();" onMouseOver="window.status=('Play BGM'); return true;" onMouseOut="window.status=(''); return true;"><img src="play.gif" border="0" align="middle" width="13" height="13" alt="播放"></a>
<a href="#" onCLick = "nextTrack();" onMouseOver="window.status=('Next Track'); return true;" onMouseOut="window.status=(''); return true;"><img src="backward.gif" border="0" align="middle" width="13" height="13" alt="下一首"></a>
<a href="#" onClick = "m_list();" onMouseOver="window.status=('Display the BGM List'); return true;" onMouseOut="window.status=(''); return true;"><img src="list.gif" align="middle" border="0" width="13" height="13" alt="歌曲列表"></a>
</form>
</body>
<!--BGM Script BODY End-->
</html>
0
评论
Comments
日志分类
首页
[192]
我的日记
[114]
ShareGoods
[3]
杂
[1]
我的工作
[78]
休闲地带
[50]
我的共享
[58]
天籁之音
[28]
悠游生活
[0]