Thứ Ba, 17 tháng 6, 2014

Code Chèn TiVi Online Vào Blog

Rất đơn giản chỉ cần chèn đoạn code nhúng Windows Media Player vào và mở link chứa luồng của kênh tivi cần xem như đoạn code sau đây:


<object id="MediaPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=,1,52,701" standby="Loading Microsoft Windows Media Player components…" height="500" width="600">

type="application/x-oleobject" align="center">
<param name="FileName" value="rtsp://203.162.1.223:557/VTV3_08"></param>
<param name="ShowStatusBar" value="True"></param>

<param name="TransparentAtStart" value="true"></param>
<param name="AutoStart" value="true"></param>

<param name="AnimationatStart" value="false"></param>
<param name="ShowControls" value="false"></param>

<param name="autoSize" value="true"></param>
<param name="displaySize" value="0"></param>

<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
src="rtsp://203.162.1.223:557/VTV3_08"
name="MediaPlayer"
width="600px"

height="500px">
</embed>
</object>
Trong đó tham số src và FileName chỉ đến luồng kênh ti vi cần xem, minh họa ở trên là VTV3. Bạn có thể thử nghiệm bằng cách tạo ra 1 file htm hoặc html rồi chèn đoạn code đó vào, chạy file này, bạn sẽ thấy kênh VTV3 hiện ra trước mắt. Bạn có thể chủ động thay đổi các tham số theo ý thích, tuy nhiên nếu bạn không rành thì cứ để mặc định, có thể thay đổi width và height để phù hợp với vị trí đặt nó trong website.


Sau đây là link của một số kênh tham khảo:

  • VTV1: mms://210.245.126.153/VTV1/
  • VTV2: mms://210.245.126.153/VTV2/
  • VTV3: mms://210.245.126.153/VTV3/
  • VTV4: mms://www.vtc.com.vn/VTV4_2816
  • HTV7: mms://210.245.126.153/HTV7
  • HTV9: mms://www.vtc.com.vn/HTV9_2818
  • HTV: mms://203.162.1.181/HTV
  • VTC1: mms://www.vtc.com.vn:557/VTC1_2101
  • VTC2: mms://www.vtc.com.vn:557/VTC2_2102
  • VTC3: mms://www.vtc.com.vn:557/VTC3_2103
  • VTC4: mms://www.vtc.com.vn:556/VTC4_2104
  • VTC5: mms://www.vtc.com.vn:557/VTC5_2105



VIET NAM CHANNELS


KÊNH TIVI CA NHẠC & THỂ THAO


KÊNH NƯỚC NGOÀI





Tham Khao cach khac : 



1. Bạn đăng nhập vào Blogger >> vào đăng bài >> Chọn chế độ HTML và copy các đoạn code sau paste vào bài đăng :

Chèn VTV1:
<div style="text-align: center;">
<iframe frameborder="0" height="378" scrolling="no" src="http://farm.vtc.vn/media/vtcnews/resources/swf/flv/flvplayer.swf?file=vtv11&amp;streamer=rtmp://117.103.225.20/live&amp;provider=rtmp&amp;autostart=true" width="480"></iframe> </div>
Chèn VTV2:
<div style="text-align: center;">
<iframe frameborder="0" height="378" scrolling="no" src="http://farm.vtc.vn/media/vtcnews/resources/swf/flv/flvplayer.swf?file=vtv2&streamer=rtmp://117.103.225.20/live&provider=rtmp&autostart=true" width="480"></iframe> </div>
Chèn VTV3:
<div style="text-align: center;">
<iframe frameborder="0" height="378" scrolling="no" src="http://farm.vtc.vn/media/vtcnews/resources/swf/flv/flvplayer.swf?file=vtv31&amp;streamer=rtmp://117.103.225.20/live&amp;menu=false&amp;autostart=true&amp;stretching=uniformcontrolbar=over" width="480"></iframe> </div>
Chèn VTV4:
<div style="text-align: center;">
<iframe frameborder="0" height="378" scrolling="no" src="http://farm.vtc.vn/media/vtcnews/resources/swf/flv/flvplayer.swf?file=vtv4&streamer=rtmp://117.103.225.20/live&provider=rtmp&autostart=true" width="480"></iframe> </div>
Chèn VTV6:
<div style="text-align: center;">
<iframe src="http://tv24.vn.tructuyen.org/vtv6.php" marginwidth="0" marginheight="0" frameborder="0" height="378" scrolling="no" width="480"></iframe> </div>
Chèn VTV9:
<div style="text-align: center;">
<iframe frameborder="0" height="378" scrolling="no" src="http://tv24.vn.xunghe.vn/?xem-kenh=vtv9.stream" width="480"></iframe> </div>
Chèn Thừa Thiên Huế:
<div style="text-align: center;"><embed allowfullscreen="true" allowscriptaccess="always" flashvars="streamer=rtmp://118.69.176.149/live/&amp;file=trt&amp;type=rtmp&amp;fullscreen=true&amp;autostart=true&amp;controlbar=bottom" quality="high" src="http://www.bptv.com.vn/vplayer.swf" style="height: 425px; width: 100%;" type="application/x-shockwave-flash" wmode="opaque"></div>
Chèn HTV7:

<div style="text-align: center;">
<iframe frameborder="0" height="378" scrolling="no" src="http://farm.vtc.vn/media/vtcnews/resources/swf/flv/flvplayer.swf?file=htv7&amp;streamer=rtmp://117.103.225.20/live&amp;provider=rtmp&amp;autostart=true" width="480"></iframe></div>
Chèn VTC1:
<div style="text-align: center;">
<iframe border="0" frameborder="0" height="378" name="I1" src="http://farm.vtc.vn/media/vtcnews/resources/swf/flv/flvplayer.swf?file=vtc11&amp;streamer=rtmp://117.103.225.20/live&amp;provider=rtmp&amp;autostart=true" width="480"></iframe></div>
Chèn VTC2:
<div style="text-align: center;">
<iframe frameborder="0" height="378" scrolling="no" src="http://farm.vtc.vn/media/vtcnews/resources/swf/flv/flvplayer.swf?file=vtc21&streamer=rtmp://117.103.225.4:1935/live&menu=false&autostart=true&stretching=uniformcontrolbar=over" width="480"></iframe> </div>
Chèn VTC3:
<div style="text-align: center;">
<iframe frameborder="0" height="378" scrolling="no" src="http://farm.vtc.vn/media/vtcnews/resources/swf/flv/flvplayer.swf?file=vtc31&streamer=rtmp://117.103.225.20/live&provider=rtmp&autostart=true" width="480"></iframe> </div>
Chèn TRT1:
<div style="text-align: center;">
<embed allowfullscreen="true" allowscriptaccess="always" flashvars="streamer=rtmp://118.69.176.149/live/&amp;file=trt&amp;type=rtmp&amp;fullscreen=true&amp;autostart=true&amp;controlbar=bottom" quality="high" src="http://megafun.vn/common/player/player.swf" style="height: 425px; width: 500px;" type="application/x-shockwave-flash" wmode="opaque"></embed></div>
Chèn VTC16:
<div style="text-align: center;">
<embed allowfullscreen="true" allowscriptaccess="always" flashvars="stretching=exactfit&amp;streamer=rtmp://123.30.134.108/live&amp;file=nctlive&amp;controlbar=bottom&amp;autostart=true" height="425" id="mpl" name="mpl" quality="high" src="http://megafun.vn/common/player/player.swf" type="application/x-shockwave-flash" width="100%" wmode="opaque"></embed></div>
Chèn SCTV15-Kênh Thể Thao:
<div style="text-align: center;">
<iframe frameborder="0" height="425" scrolling="no" src="http://tv24.vn.xunghe.vn/?xem-kenh=sctv15.stream" width="100%"></iframe></div>
Chèn iTV-Kênh Ca Nhạc:
<div style="text-align: center;">
<embed allowfullscreen="true" allowscriptaccess="always" flashvars="streamer=rtmp://210.245.82.6/live/&amp;file=itvw_hh&amp;type=rtmp&amp;fullscreen=true&amp;autostart=true&amp;controlbar=bottom&amp;" quality="high" src="http://megafun.vn/common/player/player.swf" style="height: 425px; width: 100%;" type="application/x-shockwave-flash" wmode="opaque"></embed></div>
Chèn HTV9:
<div style="text-align: center;">
<iframe frameborder="0" height="425" scrolling="no" src="http://farm.vtc.vn/media/vtcnews/resources/swf/flv/flvplayer.swf?file=htv91&amp;streamer=rtmp://117.103.225.20/live&amp;provider=rtmp&amp;autostart=true" width="100%"></iframe> </div>
Chèn THVL1:
<div style="text-align: center;">
<embed allowfullscreen="true" allowscriptaccess="always" flashvars="streamer=rtmp://123.30.108.77/live/THVL1/&amp;file=THVL1&amp;type=rtmp&amp;fullscreen=true&amp;autostart=true&amp;controlbar=bottom&amp;stretching=exactfit&amp;logo=logo.png&amp;skin=long.swf&amp;abouttext=TIVI24H&amp;" quality="high" src="http://www.bptv.com.vn/vplayer.swf" style="height: 425px; width: 100%;" type="application/x-shockwave-flash" wmode="opaque"></embed>
</div>
Chèn THVL2:
<div style="text-align: center;">
<embed allowfullscreen="true" allowscriptaccess="always" flashvars="streamer=rtmp://123.30.108.77/live/THVL2/&amp;file=THVL2&amp;type=rtmp&amp;fullscreen=true&amp;autostart=true&amp;controlbar=bottom&amp;stretching=exactfit&amp;logo=logo.png&amp;skin=long.swf&amp;abouttext=TIVI24H&amp;" quality="high" src="http://www.bptv.com.vn/vplayer.swf" style="height: 425px; width: 100%;" type="application/x-shockwave-flash" wmode="opaque"></embed></div>
Chèn BRT:
<div style="text-align: center;">
<embed allowfullscreen="true" allowscriptaccess="always" flashvars="streamer=rtmp://113.163.216.24/live/&amp;file=livestream&amp;type=rtmp&amp;fullscreen=true&amp;autostart=true&amp;controlbar=bottom" quality="high" src="http://www.bptv.com.vn/vplayer.swf" style="background-color: #081218; color: white; font-family: Verdana, Arial, 'Trebuchet MS', sans-serif; font-size: 13px; height: 425px; text-align: -webkit-center; width: 100%;" type="application/x-shockwave-flash" wmode="opaque"></embed></div>
Chèn VP:
<div style="text-align: center;">
<embed allowfullscreen="true" allowscriptaccess="always" flashvars="streamer=rtmp://123.25.71.107/live/&amp;file=thvp&amp;type=rtmp&amp;fullscreen=true&amp;autostart=true&amp;controlbar=bottom" quality="high" src="http://www.bptv.com.vn/vplayer.swf" style="height: 425px; width: 100%;" type="application/x-shockwave-flash" wmode="opaque"></embed></div>
Chèn Cần thơ 1:
<div style="text-align: center;"><embed allowscriptaccess="never" src="http://www.bptv.com.vn/vplayer.swf?file=vtc21&amp;streamer=rtmp://113.161.204.167:1935/live/&amp;file=livestream&amp;type=rtmp&amp;volume=80&amp;autostart=true&amp;repeat=none" type="application/x-shockwave-flash" height="425" width="510"></div>
Chèn Cần thơ 2:
<div style="text-align: center;"><embed allowfullscreen="true" allowscriptaccess="always" flashvars="streamer=rtmp://113.161.204.168:1935/live/&amp;file=livestream&amp;type=rtmp&amp;fullscreen=true&amp;autostart=true&amp;controlbar=bottom" quality="high" src="http://www.bptv.com.vn/vplayer.swf" type="application/x-shockwave-flash" wmode="opaque" height="425" width="530"></div>
Chèn Đà Nẵng:
<div style="text-align: center;"><embed allowfullscreen="true" allowscriptaccess="always" flashvars="streamer=rtmp://222.255.167.149/live/&amp;file=livestream&amp;type=rtmp&amp;fullscreen=true&amp;autostart=true&amp;controlbar=bottom" quality="high" src="http://www.bptv.com.vn/vplayer.swf" type="application/x-shockwave-flash" wmode="opaque" height="425" width="550"></div>
Chèn An Ninh:
<div style="text-align: center;"><iframe src="http://tv24.vn.xunghe.vn/?xem-kenh=antv.stream&amp;" frameborder="0" height="425" scrolling="no" width="100%"></iframe></div>



Không có nhận xét nào:

Đăng nhận xét