代码如下:
<EMBED src="http://www.eiyes.com/info/way/地址"autostart="true"loop="true" width="450" height ="350" >
其中autostart="true"的意思是打开主页后自动播放,如果要手动播放的话,可以将它删掉;width和height分别是显示出来的MTV的宽和高,请大家根据需要调节。
QQ空间系列——插入rm格式视频
我前面已经讲过如何插入MTV,对象全部是以.wav .wmv等格式结尾的文件,那么到底如何插入rm格式的视频文件呢?
代码相对复杂一些:
</textarea><embed src=http://你的视频文件地址 type=audio/x-pn-realaudio-plugin console=clip1 controls=ImageWindow height=124 width=180 autostart=true loop=true>
另外还有以.avi或者.mpg结尾的,代码如下:
</textarea><embed src="http://www.eiyes.com/info/way/音樂源地址" border="0" width="320" height="240" type="application/x-mplayer2"></embed>
QQ空间MTV播放器代码模板
<img src="javascript:Mlogo.innerHTML+='<div id=MVPlayer style=position:absolute;top:0;left:0;width:925;height:655;></div>';MVPlayer.innerHTML='<iframe src=../../你的视频文件地址 allowTransparency=true width=925 height=655 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no name=MVP></iframe>'" style=display:none>
局面演示:
