网页中添加播放器播放视频文件与网页增加背景音

系统 2070 0

一.在网页中播放视频文件,以下代码是播放器,再加入如【☆☆动作-欧美-虎胆龙威4-原创02.dvd.rm】电影,打开即可播放了!

< html >
< head >
< title > 无标题文档 </ title >
< meta http-equiv ="Content-Type" content ="text/html;charset=gb2312" >
</ head >

< body bgcolor ="#FFFFFF" text ="#000000" >
< table border ="0" width ="36%" cellpadding ="0" cellspacing ="0" align ="center" >
< tr >
< td width ="100%" valign ="bottom" height ="360" bgcolor ="#666666" >
< table width ="56%" border ="1" cellspacing ="0" cellpadding ="0" align ="center" bordercolor ="#666666" >
< tr >
< td >< object id ="RP1" classid ="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width =419 height =300 >
< param name ="_ExtentX" value ="4657" >
< param name ="_ExtentY" value ="3493" >
< param name ="AUTOSTART" value ="-1" >
< param name ="SHUFFLE" value ="0" >
< param name ="PREFETCH" value ="0" >
< param name ="NOLABELS" value ="-1" >
< param name ="SRC" value ="☆☆动作-欧美-虎胆龙威4-原创02.dvd.rm" >
< 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 ></ td >
</ tr >
< tr >
< td >< object id ="RP2" classid ="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width =420 height =30 >
< param name ="_ExtentX" value ="4657" >
< 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 ="☆☆动作-欧美-虎胆龙威4-原创02.dvd.rm" >
< 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 ></ td >
</ tr >
</ table >
</ td >
</ tr >
</ table >
</ body >
</ html >

二.网页里加入音频文件播放方法如下:

如加入【古天乐 - 吻得到.爱不到.mp3】音频文件即可!

< html >
< head >
< title > 网页背景音乐制作【深海技术】 </ title >
< meta http-equiv ="Content-Type" content ="text/html;charset=gb2312" >
</ head >

< body >
< table border ="0" cellpadding ="0" cellspacing ="0" >
< tr >
< td >
< table border ="0" cellspacing ="0" cellpadding ="0" >
< tr >
< td >< embed id ="shenhai" src ='古天乐 -吻得到.爱不到.mp3'width ="0" height ="0" hidden ="true" autostart ="1" loop ="1" align ="middle" showdisplay ="0" showcontrols ="1" showpositioncontrols ="1" showselectioncontrols ="0" showtracker ="1" moviewindowsize ="0" fullscreenmode ="0" moviewindowwidth ="0" moviewindowheight ="0" autorewind ="1" playcount ="1" selectionstart ="0" appearance ="1" borderstyle ="0" filename ="古天乐-吻得到.爱不到.mp3" displaymode ="0" ></ embed >
</ td >
</ tr >
</ table >
</ td >
</ tr >
</ table >
</ body >
</ html >

网页中添加播放器播放视频文件与网页增加背景音乐示例


更多文章、技术交流、商务合作、联系博主

微信扫码或搜索:z360901061

微信扫一扫加我为好友

QQ号联系: 360901061

您的支持是博主写作最大的动力,如果您喜欢我的文章,感觉我的文章对您有帮助,请用微信扫描下面二维码支持博主2元、5元、10元、20元等您想捐的金额吧,狠狠点击下面给点支持吧,站长非常感激您!手机微信长按不能支付解决办法:请将微信支付二维码保存到相册,切换到微信,然后点击微信右上角扫一扫功能,选择支付二维码完成支付。

【本文对您有帮助就好】

您的支持是博主写作最大的动力,如果您喜欢我的文章,感觉我的文章对您有帮助,请用微信扫描上面二维码支持博主2元、5元、10元、自定义金额等您想捐的金额吧,站长会非常 感谢您的哦!!!

发表我的评论
最新评论 总共0条评论