Nhúng video từ V.ifeng.com
<div id="playerDiv" class="video">
<embed pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" src="http://img.ifeng.com/swf/zuheVplayer_v2.09.swf" height="375" width="530" id="fplay" flashvars="guid=9f393960-c521-472b-a157-a53393dbd247&from=free&AutoPlay=false&ADPlay=false&uid=1348409412517_8873&sid=&locid=&startTime=0&parent=0&light=ON&adType=5&preAdType=0&pageurl=http://v.ifeng.com/mil/mainland/201209/9f393960-c521-472b-a157-a53393dbd247.shtml&PlayerName=vFreePlayer" allowfullscreen="true" wmode="Opaque" allowscriptaccess="always"></div>
Video MP4
<object type="application/x-shockwave-flash" id="playerID-video-details" name="playerID-video-details" data="http://vibay.weebly.com/uploads/1/1/4/1/11413983/player.swf" width="530" height="370"><param name="wmode" value="opaque"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="flashvars" value="controlbar=bottom&file=URL.mp4&image=URL.jpg&backcolor=000000&frontcolor=999999&lightcolor=CC0000&screencolor=000000&width=530&height=370&viral.oncomplete=false&viral.onpause=false&repeat=always&provider=http&autostart=true"></object>
Nhúng video tắt âm thanh từ youtube
<center>
<script src="http://www.google.com/jsapi"></script>
<script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script>
<div id="ytapiplayer">You need Flash player 8+ and JavaScript enabled to view this video.</div>
<script type="text/javascript">
google.load("swfobject", "2.1");
function onYouTubePlayerReady(playerId) {
ytplayer = document.getElementById("myytplayer");
ytplayer.playVideo();
ytplayer.mute();
}
var params = { allowScriptAccess: "always" };
var atts = { id: "myytplayer" };
swfobject.embedSWF("http://www.youtube.com/v/wUcjjMaR5-s?enablejsapi=1&playerapiid=ytplayer&allowFullScreen=true&version=3",
"ytapiplayer", "290", "160", "8", null, null, params, atts)
</script>
</center>
Nhúng video MP4 vào blog
<object type="application/x-shockwave-flash" id="playerID-video-details" name="playerID-video-details" data="http://tv.tuoitre.vn/js/player/player.swf" width="530" height="380"><param name="wmode" value="opaque">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="flashvars" value="controlbar=bottom&file=http://123.30.128.25/r/2012/02/nwFHwL7g.mp4&image=http://123.30.128.26/t/s639/2012/02/0dwVprZs.jpg&backcolor=000000&frontcolor=999999&lightcolor=CC0000&screencolor=000000&width=530&height=380&viral.oncomplete=false&viral.onpause=false&repeat=always&autostart=true&provider=http">
</object>
Hiển thị vị trí Thẻ Div
<div style="position: absolute; width: 150px; height: 100px; z-index: 1; left: 180px; top: 98px" id="layer1">
anh yêu em nhiều lắm</div>
<!--<div style="position: absolute; width: 100px; height: 100px; z-index: 2; left: 180px; top: 98px" id="layer2">
<font color="#FF0000">tiền không có thì đừng có đòi yêu</font><p>
<font color="#FF0000">tiền tải nổi lên trên tình yêu thật sự</font>
</div>-->
Thẻ div nhúng video ở trang chủ
<!--Thử nghiệm-->
<div style="position: absolute; width: 150px; height: 100px; z-index: 1; left: 160px; top: 58px" id="layer1">
<object width="150" height="100"><param name="movie" value="http://www.youtube.com/v/SMj1cyQxI7g&autoplay;=1?version=3&hl=vi_VN&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/SMj1cyQxI7g&autoplay;=1?version=3&hl=vi_VN&rel=0" type="application/x-shockwave-flash" width="150" height="100" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<!--Đóng mã-->
Bài viết mới theo nhãn giống Vnexpress
<!--Tin headlines-->
<table border='0' cellpadding='0' cellspacing='0' class='reference' width='545px'>
<tbody>
<tr>
<td bgcolor='#ffffff' height='200px' valign='top' width='300px'>
<style type='text/css'>
.mota{
position: relative;
z-index: 0;
text-decoration:none;
}
.mota:hover{
background-color: transparent;
z-index: 50;
}
.mota span{
position: absolute;
background-color: #ffffff;
padding: 5px;
left: -1000px;
border: 1px solid #ffffff;
visibility: hidden;
color: white;
text-decoration: none;
}
.mota span img{
border-width: 0;
padding: 5px;
}
.mota:hover span{
padding:3px;
visibility: visible;
top: 10px;
left:30px;
width:300px;
background:#ffffff;
text-align: justify;
}
</style>
<script language='JavaScript'>
imgr = new Array();
imgr[0] = "http://sites.google.com/site/fdblogsite/Home/nothumbnail.gif";
showRandomImg = true;
tablewidth = 300;
cellspacing = 0;
borderColor = "#ffffff";
bgTD = "#ffffff";
imgwidth = 300; // độ rộng của ảnh thumbnail
imgheight = 200; // chiều cao của ảnh thumbnail
fntsize = 0;
acolor = "#ffffff";
aBold = true;
icon = " ";
text = "no";
showPostDate = false;
summaryPost = 0;
summaryFontsize = 0;
summaryColor = "#000";
icon2 = " > ";
numposts = 1;
label = "Headlines";
home_page = "http://vibay.blogspot.com/";
</script>
<script src='http://vibay.weebly.com/uploads/1/1/4/1/11413983/1965/evnrecent_post_thumnail_blogger2.js' type='text/javascript'/>
</td>
<td bgcolor='#ffffff' height='200px' valign='top' width='245px'>
<style type='text/css'>
.wbox {background-color:#ffffff;width:auto;height:auto;}
.wbox.Cat {width:245px;height:auto;margin-bottom:3px;}
.wbox .tl {
background:url(http://quantrimang.com.vn/App_Themes/default/images/left_wbox_03.jpg) no-repeat left top;
padding-left:3px;
}
.wbox .tr {
background:url(http://quantrimang.com.vn/App_Themes/default/images/right_wbox_03.jpg) no-repeat right top;
padding-right:3px;
}
.wbox .tc {
background:url(http://quantrimang.com.vn/App_Themes/default/images/mid_wbox_03.jpg) repeat-x left top;
height:15px;
color:#246296;
font-size:15px;
text-transform:uppercase;
font-weight:bold;
padding-top:3px;
padding-left:5px;
}
.wbox .tc a {text-decoration:none;color:#246296;}
.wbox .ml {
background:url(http://quantrimang.com.vn/App_Themes/default/images/left_contannerbox.jpg) repeat-y left top;
padding-left:3px;
}
.wbox .mr
{
background:url(http://quantrimang.com.vn/App_Themes/default/images/right_contannerbox.jpg) repeat-y right top;
padding-right:3px;
}
.wbox .mc {background-color:#FFFFFF;}
.wbox .bl
{
background:url(http://quantrimang.com.vn/App_Themes/default/images/bottomLeft_wbox.jpg) no-repeat left top;
padding-left:3px;
height:3px;
}
.wbox .br
{
background:url(http://quantrimang.com.vn/App_Themes/default/images/bottomright_wbox.jpg) no-repeat right top;
height:3px;
padding-right:3px;
}
.wbox .bc
{
background:url(http://quantrimang.com.vn/App_Themes/default/images/bottomMiddle_wbox.jpg) repeat-x left top;
height:3px;
font-size:0;
line-height:5px;
}
.Tin_lienquan ul,.Tin_lienquan li {list-style:true}
.Title_article {
color:#336699;
font-size:17px;
font-weight:bold;
padding-top:0px;
padding-bottom:7px;
padding-left:3px;
}
.Title_article {text-decoration:none;color:#336699;}
.Title_article a {text-decoration:none;color:#336699;}
.Title_article a:hover {color:#990000; text-decoration:none;}
.imgModule {padding-left:3px;}
.imgModule img {height:0px; width:0px; margin-right:3px;}
.imgModule a {text-decoration:none;}
.Tin_lienquan {
color:#797979;
font-size:13px;
font-weight:normal;
padding-top:7px;
font-family:Tahoma;
padding-left:3px;
}
.Tin_lienquan a {text-decoration:none; color:#004784;}
.Tin_lienquan a:hover {text-decoration:none;color:#CC3300;}
</style>
<script type='text/javascript'>
home_page = "http://vibay.blogspot.com/";
label = "Headlines";
numposts = 3;
list1 = 1;
sumPosts = 137;
mode = "label";
</script>
<div class='wbox Cat'>
<!-- Header widget -->
<!--<div class="tl"><div class="tr"><div class="tc"><a href="http://itechplus.info/search/label/Office">Tin học văn phòng</a></div></div></div>-->
<!-- END Header widget -->
<div class='ml'>
<div class='mr'>
<div class='mc'>
<!-- noi dung cua tien ich -->
<script src='http://vibay.weebly.com/uploads/1/1/4/1/11413983/rc-post-qmt.txt' type='text/javascript'/>
<!-- END noi dung cua tien ich -->
</div>
</div>
</div>
<!-- Footer widget -->
<div class='bl'><div class='br'><div class='bc'/></div></div>
<!-- END footer widget -->
</div></td></tr></tbody></table>
<!--Đóng mã-->
1
<div id="playerDiv" class="video">
<embed pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" src="http://img.ifeng.com/swf/zuheVplayer_v2.09.swf" height="375" width="530" id="fplay" flashvars="guid=9f393960-c521-472b-a157-a53393dbd247&from=free&AutoPlay=false&ADPlay=false&uid=1348409412517_8873&sid=&locid=&startTime=0&parent=0&light=ON&adType=5&preAdType=0&pageurl=http://v.ifeng.com/mil/mainland/201209/9f393960-c521-472b-a157-a53393dbd247.shtml&PlayerName=vFreePlayer" allowfullscreen="true" wmode="Opaque" allowscriptaccess="always"></div>
Video MP4
<object type="application/x-shockwave-flash" id="playerID-video-details" name="playerID-video-details" data="http://vibay.weebly.com/uploads/1/1/4/1/11413983/player.swf" width="530" height="370"><param name="wmode" value="opaque"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="flashvars" value="controlbar=bottom&file=URL.mp4&image=URL.jpg&backcolor=000000&frontcolor=999999&lightcolor=CC0000&screencolor=000000&width=530&height=370&viral.oncomplete=false&viral.onpause=false&repeat=always&provider=http&autostart=true"></object>
Nhúng video tắt âm thanh từ youtube
<center>
<script src="http://www.google.com/jsapi"></script>
<script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script>
<div id="ytapiplayer">You need Flash player 8+ and JavaScript enabled to view this video.</div>
<script type="text/javascript">
google.load("swfobject", "2.1");
function onYouTubePlayerReady(playerId) {
ytplayer = document.getElementById("myytplayer");
ytplayer.playVideo();
ytplayer.mute();
}
var params = { allowScriptAccess: "always" };
var atts = { id: "myytplayer" };
swfobject.embedSWF("http://www.youtube.com/v/wUcjjMaR5-s?enablejsapi=1&playerapiid=ytplayer&allowFullScreen=true&version=3",
"ytapiplayer", "290", "160", "8", null, null, params, atts)
</script>
</center>
Nhúng video MP4 vào blog
<object type="application/x-shockwave-flash" id="playerID-video-details" name="playerID-video-details" data="http://tv.tuoitre.vn/js/player/player.swf" width="530" height="380"><param name="wmode" value="opaque">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="flashvars" value="controlbar=bottom&file=http://123.30.128.25/r/2012/02/nwFHwL7g.mp4&image=http://123.30.128.26/t/s639/2012/02/0dwVprZs.jpg&backcolor=000000&frontcolor=999999&lightcolor=CC0000&screencolor=000000&width=530&height=380&viral.oncomplete=false&viral.onpause=false&repeat=always&autostart=true&provider=http">
</object>
Hiển thị vị trí Thẻ Div
<div style="position: absolute; width: 150px; height: 100px; z-index: 1; left: 180px; top: 98px" id="layer1">
anh yêu em nhiều lắm</div>
<!--<div style="position: absolute; width: 100px; height: 100px; z-index: 2; left: 180px; top: 98px" id="layer2">
<font color="#FF0000">tiền không có thì đừng có đòi yêu</font><p>
<font color="#FF0000">tiền tải nổi lên trên tình yêu thật sự</font>
</div>-->
Thẻ div nhúng video ở trang chủ
<!--Thử nghiệm-->
<div style="position: absolute; width: 150px; height: 100px; z-index: 1; left: 160px; top: 58px" id="layer1">
<object width="150" height="100"><param name="movie" value="http://www.youtube.com/v/SMj1cyQxI7g&autoplay;=1?version=3&hl=vi_VN&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/SMj1cyQxI7g&autoplay;=1?version=3&hl=vi_VN&rel=0" type="application/x-shockwave-flash" width="150" height="100" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<!--Đóng mã-->
Bài viết mới theo nhãn giống Vnexpress
<!--Tin headlines-->
<table border='0' cellpadding='0' cellspacing='0' class='reference' width='545px'>
<tbody>
<tr>
<td bgcolor='#ffffff' height='200px' valign='top' width='300px'>
<style type='text/css'>
.mota{
position: relative;
z-index: 0;
text-decoration:none;
}
.mota:hover{
background-color: transparent;
z-index: 50;
}
.mota span{
position: absolute;
background-color: #ffffff;
padding: 5px;
left: -1000px;
border: 1px solid #ffffff;
visibility: hidden;
color: white;
text-decoration: none;
}
.mota span img{
border-width: 0;
padding: 5px;
}
.mota:hover span{
padding:3px;
visibility: visible;
top: 10px;
left:30px;
width:300px;
background:#ffffff;
text-align: justify;
}
</style>
<script language='JavaScript'>
imgr = new Array();
imgr[0] = "http://sites.google.com/site/fdblogsite/Home/nothumbnail.gif";
showRandomImg = true;
tablewidth = 300;
cellspacing = 0;
borderColor = "#ffffff";
bgTD = "#ffffff";
imgwidth = 300; // độ rộng của ảnh thumbnail
imgheight = 200; // chiều cao của ảnh thumbnail
fntsize = 0;
acolor = "#ffffff";
aBold = true;
icon = " ";
text = "no";
showPostDate = false;
summaryPost = 0;
summaryFontsize = 0;
summaryColor = "#000";
icon2 = " > ";
numposts = 1;
label = "Headlines";
home_page = "http://vibay.blogspot.com/";
</script>
<script src='http://vibay.weebly.com/uploads/1/1/4/1/11413983/1965/evnrecent_post_thumnail_blogger2.js' type='text/javascript'/>
</td>
<td bgcolor='#ffffff' height='200px' valign='top' width='245px'>
<style type='text/css'>
.wbox {background-color:#ffffff;width:auto;height:auto;}
.wbox.Cat {width:245px;height:auto;margin-bottom:3px;}
.wbox .tl {
background:url(http://quantrimang.com.vn/App_Themes/default/images/left_wbox_03.jpg) no-repeat left top;
padding-left:3px;
}
.wbox .tr {
background:url(http://quantrimang.com.vn/App_Themes/default/images/right_wbox_03.jpg) no-repeat right top;
padding-right:3px;
}
.wbox .tc {
background:url(http://quantrimang.com.vn/App_Themes/default/images/mid_wbox_03.jpg) repeat-x left top;
height:15px;
color:#246296;
font-size:15px;
text-transform:uppercase;
font-weight:bold;
padding-top:3px;
padding-left:5px;
}
.wbox .tc a {text-decoration:none;color:#246296;}
.wbox .ml {
background:url(http://quantrimang.com.vn/App_Themes/default/images/left_contannerbox.jpg) repeat-y left top;
padding-left:3px;
}
.wbox .mr
{
background:url(http://quantrimang.com.vn/App_Themes/default/images/right_contannerbox.jpg) repeat-y right top;
padding-right:3px;
}
.wbox .mc {background-color:#FFFFFF;}
.wbox .bl
{
background:url(http://quantrimang.com.vn/App_Themes/default/images/bottomLeft_wbox.jpg) no-repeat left top;
padding-left:3px;
height:3px;
}
.wbox .br
{
background:url(http://quantrimang.com.vn/App_Themes/default/images/bottomright_wbox.jpg) no-repeat right top;
height:3px;
padding-right:3px;
}
.wbox .bc
{
background:url(http://quantrimang.com.vn/App_Themes/default/images/bottomMiddle_wbox.jpg) repeat-x left top;
height:3px;
font-size:0;
line-height:5px;
}
.Tin_lienquan ul,.Tin_lienquan li {list-style:true}
.Title_article {
color:#336699;
font-size:17px;
font-weight:bold;
padding-top:0px;
padding-bottom:7px;
padding-left:3px;
}
.Title_article {text-decoration:none;color:#336699;}
.Title_article a {text-decoration:none;color:#336699;}
.Title_article a:hover {color:#990000; text-decoration:none;}
.imgModule {padding-left:3px;}
.imgModule img {height:0px; width:0px; margin-right:3px;}
.imgModule a {text-decoration:none;}
.Tin_lienquan {
color:#797979;
font-size:13px;
font-weight:normal;
padding-top:7px;
font-family:Tahoma;
padding-left:3px;
}
.Tin_lienquan a {text-decoration:none; color:#004784;}
.Tin_lienquan a:hover {text-decoration:none;color:#CC3300;}
</style>
<script type='text/javascript'>
home_page = "http://vibay.blogspot.com/";
label = "Headlines";
numposts = 3;
list1 = 1;
sumPosts = 137;
mode = "label";
</script>
<div class='wbox Cat'>
<!-- Header widget -->
<!--<div class="tl"><div class="tr"><div class="tc"><a href="http://itechplus.info/search/label/Office">Tin học văn phòng</a></div></div></div>-->
<!-- END Header widget -->
<div class='ml'>
<div class='mr'>
<div class='mc'>
<!-- noi dung cua tien ich -->
<script src='http://vibay.weebly.com/uploads/1/1/4/1/11413983/rc-post-qmt.txt' type='text/javascript'/>
<!-- END noi dung cua tien ich -->
</div>
</div>
</div>
<!-- Footer widget -->
<div class='bl'><div class='br'><div class='bc'/></div></div>
<!-- END footer widget -->
</div></td></tr></tbody></table>
<!--Đóng mã-->