Vibay

Thứ Ba, 21 tháng 2, 2012

Vibay code 1

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&amp;from=free&amp;AutoPlay=false&amp;ADPlay=false&amp;uid=1348409412517_8873&amp;sid=&amp;locid=&amp;startTime=0&amp;parent=0&amp;light=ON&amp;adType=5&amp;preAdType=0&amp;pageurl=http://v.ifeng.com/mil/mainland/201209/9f393960-c521-472b-a157-a53393dbd247.shtml&amp;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&amp;file=URL.mp4&amp;image=URL.jpg&amp;backcolor=000000&amp;frontcolor=999999&amp;lightcolor=CC0000&amp;screencolor=000000&amp;width=530&amp;height=370&amp;viral.oncomplete=false&amp;viral.onpause=false&amp;repeat=always&amp;provider=http&amp;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&amp;file=http://123.30.128.25/r/2012/02/nwFHwL7g.mp4&amp;image=http://123.30.128.26/t/s639/2012/02/0dwVprZs.jpg&amp;backcolor=000000&amp;frontcolor=999999&amp;lightcolor=CC0000&amp;screencolor=000000&amp;width=530&amp;height=380&amp;viral.oncomplete=false&amp;viral.onpause=false&amp;repeat=always&amp;autostart=true&amp;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&#7873;n không có thì &#273;&#7915;ng có &#273;òi yêu</font><p>
<font color="#FF0000">ti&#7873;n t&#7843;i n&#7893;i lên trên tình yêu th&#7853;t s&#7921;</font>
</div>-->

Thẻ div nhúng video ở trang chủ

<!--Th&#7917; nghi&#7879;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&amp;hl=vi_VN&amp;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&amp;hl=vi_VN&amp;rel=0" type="application/x-shockwave-flash" width="150" height="100" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<!--&#272;ó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] = &quot;http://sites.google.com/site/fdblogsite/Home/nothumbnail.gif&quot;;


showRandomImg = true;
tablewidth = 300;
cellspacing = 0;
borderColor = &quot;#ffffff&quot;;
bgTD = &quot;#ffffff&quot;;

imgwidth = 300; // &#273;&#7897; r&#7897;ng c&#7911;a &#7843;nh thumbnail
imgheight = 200; // chi&#7873;u cao c&#7911;a &#7843;nh thumbnail
fntsize = 0;
acolor = &quot;#ffffff&quot;;
aBold = true;
icon = &quot; &quot;;

text = &quot;no&quot;;

showPostDate = false;

summaryPost = 0;
summaryFontsize = 0;
summaryColor = &quot;#000&quot;;
icon2 = &quot; &gt; &quot;;

numposts = 1;
label = &quot;Headlines&quot;;
home_page = &quot;http://vibay.blogspot.com/&quot;;

</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 = &quot;http://vibay.blogspot.com/&quot;;
label = &quot;Headlines&quot;;
numposts = 3;
list1 = 1;
sumPosts = 137;
mode = &quot;label&quot;;
</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&#7885;c v&#259;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 nhận xét:

  1. I was suggested this blog by my cousin. I am not sure whether this post is written by
    him as nobody else know such detailed about my trouble.
    You are wonderful! Thanks!

    Look into my web page - hair styling products ()

    Trả lờiXóa