QQ空间MTV代码
代码如下:
<EMBED
src="地址"autostart="true"loop="true" width="450" height ="350" >
其中autostart="true"的意思是打开主页后自动播放,如果要手动播放的话,可以将它删掉;width和height分别是显示出来的MTV的宽和高,请大家根据需要调节。
QQ空间MTV代码参数
</textarea>
<embed
SRC=你的视频文件地址 type=audio/x-pn-realaudio-plugin CONSOLE=Clip1
CONTROLS=ImageWindow HEIGHT=210 WIDTH=290
AUTOSTART=true
loop=true><br>
height=210 width=290 表示播放器大小
autostart=false 表示是否重复播放 false 否 ture 是
loop=false 表示是否自动播放 false 否 ture 是
QQ空间MTV代码精选
<embed id="MediaPlayer963" src="MTV的地址" width="305"
height="250" type="video/x-msvideo" autostart="true" loop="false"
align="left">
家庭影院来个简单点设置好了的。
<div
id="layer25" style="padding:0px; LEFT: 2px; OVERFLOW: hidden;
WIDTH: 634px; POSITION: absolute; TOP: 0px; HEIGHT: 530px; zindex:
90" resiziable="true">
<img oncontextmenu="return false"
title="欢迎你的到来,如果只单独看见这张图片或者一个小的MV,请刷新空间,这个是带专门皮肤的播放器" height="529"
src=" http://www.9118114.com/img/qq324181_GIF.jpg"
width="707" align="middle" border="0"></div>
<div
id="layer23" style="left: 229px; overflow: hidden; width: 262px;
position: absolute; top: 128px; height: 210px; zindex: 200;
padding: 0px" resiziable="true">
<embed
id="MediaPlayer963" src=" http://mtv2.mooe.com/hr/bqb_carols.wmv"
width="303" height="300" type="video/x-msvideo" autostart="true"
loop="false" align="left"></div>
QQ空间漂浮MTV代码的做法
和原来的漂浮图片的原理是一样的,看说明将里面的设置改一下
然后把下面的内容保存为TXT 然后上传 得到文件后
<img src="java
script:document.getElementById('hidentarget').
src='上传的文件的地址';"></img>
用这个代码 就可以了
下面是需要保存的txt的内容。。效果不怎么好。。老是重叠了。。就什么都看不见了 呵呵
<SCRIPT
LANGUAGE="java script1.2">
<!--
var
mtvpath="rtsp://202.108.119.176/tvzb/yinpin/gq/MTV/2003110301.rm"
//MTV的路径
var mtvwidth=200
var mtvheight=150
//MTV的大小
var speed=2;
//飞行速度
var
protocal="http://"
var domain="q-zone.qq.com"
var
mtvclick=protocal+"22871560."+domain
var hideafter=0
var
isie=0;
if(window.navigator.appName=="Microsoft Internet
Explorer"&&windo
w.navigator.appVersion.substring(window.navigator.appVersion.indexOf
("MSIE")+5,window.navigator.appVersion.indexOf("MSIE")+8)>=5.5)
{
isie=1;
}
else {
isie=0;
}
function
pop() {
if(isie) {
x=x+dx;y=y+dy;
oPopup.show(x, y,
mtvwidth, mtvheight);
if(x+mtvwidth+5>screen.width) dx=-dx;
if(y+mtvheight+5>screen.height) dy=-dy;
if(x<0)
dx=-dx;
if(y<0) dy=-dy;
startani=setTimeout("pop();",50);
}
}
function dismisspopup(){
clearTimeout(startani)
oPopup.hide()
}
function dowhat(){
if (mtvclick=="dismiss")
dismisspopup()
else
window.open(mtvclick);
}
if(isie) {
var x=0,y=0,dx=speed,dy=speed;
var
oPopup = window.createPopup();
var oPopupBody =
oPopup.document.body;
oPopupBody.style.cursor="hand"
oPopupBody.innerHTML = "<embed src="/"+mtvpath+"'
width='"+mtvwidth
+"' height='"+mtvheight+"' autostart=true
loop=ture></embed>";
oPopup.document.body.onmouseover=new
Function("clearTimeout(startani)")
oPopup.document.body.onmouseout=pop
oPopup.document.body.onclick=dowhat
pop();
if (hideafter>0)
setTimeout("dismisspopup()",hideafter*1000)
}
// -->
</SCRIPT>
QQ空间放MTV代码的技巧
在空间里选择自定义 创建新的模板-----然后再把新的模板拖移到一个适当的地方------
刷新一下空间.在空间的新模版里添加------在注释里添加以下代码
<EMBED id=MediaPlayer963 src=你的MTV地址width=310 height=320
type=video/x-msvideo loop="false"
autostart="true"></EMBED>
QQ空间视频MTV代码说明
STRONG><SPAN class=tpc_title>QQ空间
视频MTV代码</SPAN><BR><!----><BR></STRONG><SPAN
class=tpc_content><FONT
size=2>(地址要以.rm/.wmv/.asf/.avi/.mpg结尾)<BR><BR>(播放器的大小可以自己调整代码中的数值,只需改height
=“高度”,width =“宽度”)<BR><BR>以.wmv或者.asf结尾
:<BR><BR></textarea><embed
src=http://你的视频文件地址 width=360 height=280 loop=
true><BR><BR>以.rm结尾:<BR><BR></textarea><embed
src=http://你的视频文件地址 type=audio/x-pn-realaudio-plugin console=clip1
controls=ImageWindow height=124 width=180 autostart=true
loop=true><BR><BR>以.avi或者.mpg结尾:<BR><BR></textarea><embed
src="音樂源地址" border="0" width="320" height="240"
type="application/x-mplayer2"></embed><BR><BR>小技巧,想要当你的好友一登陆你的空间就能马上听到最新的音乐视听吗?
技巧在于代码结尾加上wid, 如下<BR></textarea><embed
src=http://你的音乐地址 width=360 height=280
wid></FONT></SPAN>
【本站声明】本站刊载的部分内容全部来源互联网,对于此类文章本站仅提供交流平台,不为其版权负责。如涉及侵犯您的知识产权的文章,请联系我们,我们将尽快做出更正。并向您表示感谢!同时特别感谢对本站所有支持的网友。