Vibay

Thứ Năm, 16 tháng 2, 2012

Mã thường dùng

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>

Nhúng video FLV vào blog

<div style="display:inline-block;">
<script type="text/javascript" src="http://vibay-tips.googlecode.com/files/FLV-object-video.js"></script>
<div id="lecteur_12462" style="display:inline-block;">
<a href="http://get.adobe.com/fr/flashplayer/">You need to install the Flash plugin</a> - <a href="http://www.webestools.com/">Webestools</a> - <a href="http://205.196.123.168/a1b0dv2t6ahg/dt68apq89speclm/19022012_Toan+canh+the+gioi.mov.flv">Flash Flv Video Player</a>
</div>
<script type="text/javascript">
//<!--
var flashvars_12462 = {};
var params_12462 = {
quality: "high",
bgcolor: "#000000",
allowScriptAccess: "always",
allowFullScreen: "true",
wmode: "transparent", flashvars: "fichier=http://205.196.123.168/a1b0dv2t6ahg/dt68apq89speclm/19022012_Toan+canh+the+gioi.mov.flv&apercu=http%3A//flash.webestools.com/flv_player/extract_elephant_dream.png"
};
var attributes_12462 = {};
flashObject("http://flash.webestools.com/flv_player/v1_27.swf", "lecteur_12462", "530", "390", "8", false, flashvars_12462, params_12462, attributes_12462);
//-->
</script>
</div>

Nhúng chương trình truyền hình của VTV

<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='530' height='380' id='Object1' name='single1'><param name='movie' value='http://media.vtv.vn/Content/player/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='file=/MediaFile/Thoi su/Thang 2_2012/19022012_Toan canh the gioi.mov&streamer=rtmp://203.162.1.56/vod&skin=http://media.vtv.vn/Content/player/stylish.swf&autostart=true'>
<embed type='application/x-shockwave-flash' id='single2' name='single2' src='http://media.vtv.vn/Content/player/player.swf'width='530' height='380' bgcolor='undefined' allowscriptaccess='always' allowfullscreen='true'wmode='transparent' flashvars='file=/MediaFile/Thoi su/Thang 2_2012/19022012_Toan canh the gioi.mov&streamer=rtmp://203.162.1.56/vod&skin=http://media.vtv.vn/Content/player/stylish.swf&autostart=true' /></object>

Bài đăng mới

<script type="text/javascript">
if (!window.google || !google.friendconnect) {
document.write('<script type="text/javascript"' +
'src="http://www.google.com/friendconnect/script/friendconnect.js">' +
'</scr' + 'ipt>');
}
</script>
<script type="text/javascript">
if (!window.registeredBloggerCallbacks) {
window.registeredBloggerCallbacks = true;




gadgets.rpc.register('requestReload', function() {
document.location.reload();
});


gadgets.rpc.register('requestSignOut', function(siteId) {

google.friendconnect.container.openSocialSiteId = siteId;
google.friendconnect.requestSignOut();
});
}
</script>
<script type="text/javascript">

function registerGetBlogUrls() {
gadgets.rpc.register('getBlogUrls', function() {
var holder = {};




holder.currentPost = "http://www.blogger.com/feeds/4401750727240516708/posts/default/1714925695943319412";



holder.currentComments = "http://www.blogger.com/feeds/4401750727240516708/1714925695943319412/comments/default";

holder.currentPostUrl = "";
holder.currentPostId = 1714925695943319412



holder.postFeed = "http://www.blogger.com/feeds/4401750727240516708/posts/default";



holder.commentFeed = "http://www.blogger.com/feeds/4401750727240516708/comments/default";

holder.currentBlogUrl = "http://vibay.blogspot.com/";
holder.currentBlogId = "4401750727240516708";

return holder;
});
}
</script>
<script type="text/javascript">
if (!window.registeredCommonBloggerCallbacks) {
window.registeredCommonBloggerCallbacks = true;

gadgets.rpc.register('resize_iframe', function(height) {
var el = document.getElementById(this['f']);
if (el) {
el.style.height = height + 'px';
}
});


gadgets.rpc.register('set_pref', function() {});

registerGetBlogUrls();
}
</script>
<div id="div-n5i6bmxbeqk7" style="width: 100%; "></div>
<script type="text/javascript">
var skin = {};
skin['FACE_SIZE'] = '32';
skin['HEIGHT'] = "150";
skin['TITLE'] = "Thu1eed nghiu1ec7m - Xxf3a ngay";
skin['BORDER_COLOR'] = "transparent";
skin['ENDCAP_BG_COLOR'] = "transparent";
skin['ENDCAP_TEXT_COLOR'] = "#666666";
skin['ENDCAP_LINK_COLOR'] = "#0000CD";
skin['ALTERNATE_BG_COLOR'] = "transparent";

skin['CONTENT_BG_COLOR'] = "transparent";
skin['CONTENT_LINK_COLOR'] = "#0000CD";
skin['CONTENT_TEXT_COLOR'] = "#666666";
skin['CONTENT_SECONDARY_LINK_COLOR'] = "#0b8ee5";
skin['CONTENT_SECONDARY_TEXT_COLOR'] = "#999999";
skin['CONTENT_HEADLINE_COLOR'] = "#cc6600";
skin['FONT_FACE'] = "normal normal 100% Georgia, Serif";
google.friendconnect.container.setParentUrl("/");
google.friendconnect.container["renderOpenSocialGadget"](
{id: "div-n5i6bmxbeqk7",
height: 150,

url: "http://bloggerplugins.org/scripts/recent_posts_with_thumbnails_and_more_from_www.bloggerplugins.org.xml",


"view-params": {"f":false,"g":true,"d":false,"e":"80","b":"87","c":"2","a":"10","p":false,"l":true,"k":false,"h":"15","i":false},


"prefs": {"f":"0","g":"1","d":"0","e":"70","b":"60","c":"2","a":"10","n":"","o":"","l":"1","m":"","j":"","k":"0","h":"12","i":"0","q":"","p":"0"},

site: "01458473777746714654",

locale: 'vi' },
skin);
</script>

------------------------------------------------------

<!-- Recent Posts Start -->
<script type="text/javascript">
function recentpostslist(json) {
document.write('<ul>');
for (var i = 0; i < json.feed.entry.length; i++)
{
for (var j = 0; j < json.feed.entry[i].link.length; j++) {
if (json.feed.entry[i].link[j].rel == 'alternate') {
break;
}
}
var entryUrl = "'" + json.feed.entry[i].link[j].href + "'";//bs
var entryTitle = json.feed.entry[i].title.$t;
var item = "<li>" + "<a href="+ entryUrl + '" target="">' + entryTitle + "</a> </li>";
document.write(item);
}
document.write('</ul>');
}
</script>
<script src="http://vibay.blogspot.com/feeds/posts/summary/?max-results=10&alt=json-in-script&callback=recentpostslist"></script>
<!-- Recent Posts by Label End -->

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

Đăng nhận xét