设为首页 | 收藏本页
登陆您的帐号 | 免费注册帐号
全部栏目 > 计算机 > 互联网络 > 在线视频
下一篇上一篇 首页图文展示(无图)

网络电视代码编辑方法

发布人:hy58
发布日期:2015-06-08 12:25:38
刷新日期:2015-06-08 12:27:14
回复或评论:0
阅览:510
◆简单的网络电视代码
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>港澳台电视直播</title>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" SCROLL=NO> 
<table width="660" height="450" cellpadding="0" cellspacing="0"
>
<tr>
<td>
<iframe id="play" name="TV" frameborder="0" src="默认频道地址" width="100%" height="100%" scrolling="no" border="0" allowtransparency="true"></iframe>
</td>
<td>
<iframe id="list" frameborder="0" src="播放列表地址" width="150" height="100%" border="0" scrolling=auto target="TV"></iframe>
</td>
</tr>
</table>
</body>
</html>

实例:港澳台电视   
◆添加网络电视的皮肤

(1)皮肤样式CSS代码,放在<head></head>中。
<style type="text/css">
.left{width:580px;float:left;background:url(
http://xuhui.ucoz.com/Picture/lg.jpg) no-repeat;height:472px;padding:25px 50px 15px 50px;border-bottom:2px #777 solid}
//选择符:宽度,位置、左,背景图地址、不重复,高度,距离上、左、下、右,边框底线粗细、颜色、样式。
</style>
(2)默认电视频道代码,放在<body></body>中。
<td class="left">
<iframe name="TV" frameborder="0" src="
http://everydaytv.ucoz.com/mms/HK/FHZW1.htm"  width="480" height="430" scrolling="no"  ></iframe>
</td>

实例:港澳台电视  港澳台电视2  国外电视
评论(0) 暂无回帖


打印 收藏 关闭窗口 下一篇上一篇