BBcode Xem Tivi Online
<div style="margin:20px; margin-top:5px">
<div style="font: 12px Verdana, Geneva, Lucida, 'Lucida Grande'; margin-bottom:2px">
<b><font color="#FF0000">Chương Trình Tivi Oline:</font></b>
<input type="button" value="Hiện" style="width:45px;font-size:12px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Ẩn'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Hiện'; }" /></div><div style="min-height: 20px; background-color: #EDE8E0; margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;"><html>
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
function showiframe(iframe) {
document.getElementById("quangthaibody").innerHTML = '<center> <iframe id=iframe src="' + iframe + '" width=484 height=378 frameborder=0 scrolling=no></iframe></center>';
document.getElementById("quangthai").style.display = 'block';
document.getElementById("quangthai").focus();
}
function showTivi(name){
if (name == 'qto40'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=10&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto41'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=11&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto42'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=20&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto43'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=21&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto44'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=22&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto45'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=24&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto46'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=4&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto47'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=15&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto48'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=23&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto49'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=3&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto50'){
document.getElementById("quangthaibody").innerHTML ='<embed type="application/x-shockwave-flash" src="http://hanoi.megafun.vn/common/v1/playlist/mediaplayer.swf" bgcolor="undefined" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" flashvars="streamer=rtmp://113.161.221.253/?rtmp://203.162.35.117/hctv&file=mtv&type=video&logo=http://c.upanh.com//upload/4/415/CS0.8545918_1_1.gif&autostart=true" height="375" width="484">';
} else if (name == 'qto51'){
document.getElementById("quangthaibody").innerHTML ='<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" file="mms://202.78.227.18/yeah1tv" src="mms://202.78.227.18/yeah1tv" showcontrols="1" showdisplay="0" showstatusbar="1" width="484" height="375"></center>';
} else if (name == 'qto52'){
document.getElementById("quangthaibody").innerHTML ='<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" file="mms://123.30.108.77/thvl1" src="mms://123.30.108.77/thvl1" tppabs="mms://123.30.108.77/thvl1" showcontrols="1" showdisplay="0" showstatusbar="1" width="484" height="375">';
} else if (name == 'qto53'){
document.getElementById("quangthaibody").innerHTML ='<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" file="mms://123.30.108.77/thvl2" src="mms://123.30.108.77/thvl2" tppabs="mms://123.30.108.77/thvl2" showcontrols="1" showdisplay="0" showstatusbar="1" width="484" height="375">';
}}
</script>
<style type="text/css">
.live:hover {background:url('http://c.upanh.com/upload/4/622/VZ0.8753074_6754_1.jpg') no-repeat; color: #fffeee;text-decoration:none}
.live {background:url('http://c.upanh.com/upload/4/622/CS0.8753075_6754_1.jpg') no-repeat;color: #fefefe; text-decoration: none;width:91px;height=27px}
-->
</style>
</head><body bgcolor="#ffffff">
<div
align="center">
<table id="Table_01" width="548" background="http://c.upanh.com/upload/4/622/ZL0.8753073_6754_1.jpg" border="0" cellpadding="0" cellspacing="0" height="465">
<tbody>
<tr><td width="548" height="19" colspan="3" bgcolor="#000000"> </td></tr>
<tr>
<td width="33" height="376" bgcolor="#000000"></td>
<td bgcolor=#FFFFFF valign="middle" width="484">
<div id="quangthaibody">
<p align="center"><font color="#FF0000">Các bạn đang xem chương trình Tivi
Online </font></p>
<p align="center"><font color="#FF0000">Hãy nhấn vào 1 kênh bên dưới để Xem</font></p>
<p align="center"><font color="#FF0000">Chúc các bạn có những giây phút thoải
mái và vui vẻ ^^!</font><p align="center"> </div>
</td>
<td width="31" height="376" bgcolor="#000000"></td></tr>
<tr><td width="548" height="22" colspan="3" bgcolor="#000000">
</td>
</tr>
<tr>
<td width="548" height="47" colspan="3">
</td>
</tr>
</tbody>
</table>
<p align="center"><font color="green" size="2"><b>Please wait at least 15
seconds in order for the stream to load!</b></font></p></div>
<!-- Xem Tivi Online -->
<div align="center">
<button class="live" onclick="showTivi('qto50')">iTV</button>
<button class="live" onclick="showTivi('qto40')">VTC1</button>
<button class="live" onclick="showTivi('qto41')">VTC2</button>
<button class="live" onclick="showTivi('qto42')">VTC8</button><button class="live" onclick="showTivi('qto43')">VTC9</button>
<button class="live" onclick="showTivi('qto44')">VTC10</button>
</div>
<div align="center">
<button class="live" onclick="showTivi('qto51')">YEAH1TV</button><button class="live" onclick="showTivi('qto45')">HTV7</button>
<button class="live" onclick="showTivi('qto46')">HTV9</button><button class="live" onclick="showTivi('qto47')">VTV1</button>
<button class="live" onclick="showTivi('qto48')">VTV2</button>
<button class="live" onclick="showTivi('qto49')">VTV3</button>
</div>
<div align="center">
<button class="live" onclick="showTivi('qto52')">THVL1</button><button class="live" onclick="showTivi('qto53')">THVL2</button>
</div
<!-- End Save for Web Slices --></body></html>
</div></div></div>
- nguồn: phpbbvn.com
<div style="margin:20px; margin-top:5px">
<div style="font: 12px Verdana, Geneva, Lucida, 'Lucida Grande'; margin-bottom:2px">
<b><font color="#FF0000">Chương Trình Tivi Oline:</font></b>
<input type="button" value="Hiện" style="width:45px;font-size:12px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Ẩn'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Hiện'; }" /></div><div style="min-height: 20px; background-color: #EDE8E0; margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;"><html>
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
function showiframe(iframe) {
document.getElementById("quangthaibody").innerHTML = '<center> <iframe id=iframe src="' + iframe + '" width=484 height=378 frameborder=0 scrolling=no></iframe></center>';
document.getElementById("quangthai").style.display = 'block';
document.getElementById("quangthai").focus();
}
function showTivi(name){
if (name == 'qto40'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=10&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto41'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=11&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto42'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=20&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto43'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=21&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto44'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=22&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto45'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=24&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto46'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=4&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto47'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=15&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto48'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=23&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto49'){
document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=3&tp=l" style="border:0; width:484px; height:375px"></iframe>';
} else if (name == 'qto50'){
document.getElementById("quangthaibody").innerHTML ='<embed type="application/x-shockwave-flash" src="http://hanoi.megafun.vn/common/v1/playlist/mediaplayer.swf" bgcolor="undefined" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" flashvars="streamer=rtmp://113.161.221.253/?rtmp://203.162.35.117/hctv&file=mtv&type=video&logo=http://c.upanh.com//upload/4/415/CS0.8545918_1_1.gif&autostart=true" height="375" width="484">';
} else if (name == 'qto51'){
document.getElementById("quangthaibody").innerHTML ='<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" file="mms://202.78.227.18/yeah1tv" src="mms://202.78.227.18/yeah1tv" showcontrols="1" showdisplay="0" showstatusbar="1" width="484" height="375"></center>';
} else if (name == 'qto52'){
document.getElementById("quangthaibody").innerHTML ='<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" file="mms://123.30.108.77/thvl1" src="mms://123.30.108.77/thvl1" tppabs="mms://123.30.108.77/thvl1" showcontrols="1" showdisplay="0" showstatusbar="1" width="484" height="375">';
} else if (name == 'qto53'){
document.getElementById("quangthaibody").innerHTML ='<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" file="mms://123.30.108.77/thvl2" src="mms://123.30.108.77/thvl2" tppabs="mms://123.30.108.77/thvl2" showcontrols="1" showdisplay="0" showstatusbar="1" width="484" height="375">';
}}
</script>
<style type="text/css">
.live:hover {background:url('http://c.upanh.com/upload/4/622/VZ0.8753074_6754_1.jpg') no-repeat; color: #fffeee;text-decoration:none}
.live {background:url('http://c.upanh.com/upload/4/622/CS0.8753075_6754_1.jpg') no-repeat;color: #fefefe; text-decoration: none;width:91px;height=27px}
-->
</style>
</head><body bgcolor="#ffffff">
<div
align="center">
<table id="Table_01" width="548" background="http://c.upanh.com/upload/4/622/ZL0.8753073_6754_1.jpg" border="0" cellpadding="0" cellspacing="0" height="465">
<tbody>
<tr><td width="548" height="19" colspan="3" bgcolor="#000000"> </td></tr>
<tr>
<td width="33" height="376" bgcolor="#000000"></td>
<td bgcolor=#FFFFFF valign="middle" width="484">
<div id="quangthaibody">
<p align="center"><font color="#FF0000">Các bạn đang xem chương trình Tivi
Online </font></p>
<p align="center"><font color="#FF0000">Hãy nhấn vào 1 kênh bên dưới để Xem</font></p>
<p align="center"><font color="#FF0000">Chúc các bạn có những giây phút thoải
mái và vui vẻ ^^!</font><p align="center"> </div>
</td>
<td width="31" height="376" bgcolor="#000000"></td></tr>
<tr><td width="548" height="22" colspan="3" bgcolor="#000000">
</td>
</tr>
<tr>
<td width="548" height="47" colspan="3">
</td>
</tr>
</tbody>
</table>
<p align="center"><font color="green" size="2"><b>Please wait at least 15
seconds in order for the stream to load!</b></font></p></div>
<!-- Xem Tivi Online -->
<div align="center">
<button class="live" onclick="showTivi('qto50')">iTV</button>
<button class="live" onclick="showTivi('qto40')">VTC1</button>
<button class="live" onclick="showTivi('qto41')">VTC2</button>
<button class="live" onclick="showTivi('qto42')">VTC8</button><button class="live" onclick="showTivi('qto43')">VTC9</button>
<button class="live" onclick="showTivi('qto44')">VTC10</button>
</div>
<div align="center">
<button class="live" onclick="showTivi('qto51')">YEAH1TV</button><button class="live" onclick="showTivi('qto45')">HTV7</button>
<button class="live" onclick="showTivi('qto46')">HTV9</button><button class="live" onclick="showTivi('qto47')">VTV1</button>
<button class="live" onclick="showTivi('qto48')">VTV2</button>
<button class="live" onclick="showTivi('qto49')">VTV3</button>
</div>
<div align="center">
<button class="live" onclick="showTivi('qto52')">THVL1</button><button class="live" onclick="showTivi('qto53')">THVL2</button>
</div
<!-- End Save for Web Slices --></body></html>
</div></div></div>


















nếu bác trình bày bằng files đính kèm thì sẽ hay hơn rất nhiều.
Cám ơn bạn đã góp ý. mình muốn mọi người đọc xong có thể cop trực tiếp lun khỏi mất công phải tải về máy rồi lại giải nén, mở file cop và paste… rất mất công
thank bạn! bài hay lắm. mình có chút xíu thắc mắc mong bạn giải đáp giúp ^^ làm ntn để đặt các nút kênh nằm sang bên phải TV hả bạn? mình thấy như vậy sẽ hợp với web mình hơn. mong bạn chỉ giúp!
…và làm ntn để chèn logo các kênh để trông sinh động hả bạn?
cái này là tuỳ mắt thẩm mỹ mỗi người thôi. Theo mình như này là được, nhưng đối với bạn chưa hẳn đã được,
chào bạn, mô-dun thông tin thời tiết, giá vàng tỷ gía, gía vàng ở web bạn hay wa’, trông gọn, đẹp. mình đã tìm trong web này thấy có bài hướng dẫn chèn code thời tiết n mình cần cả 2 kai’ kia nữa hi` bạn có thể share cho mình code giống như web bạn dc hok? thank bạn!
cái này tích hợp sẵn trong theme rồi bạn à.