PDA

View Full Version : List video youtube cập nhật liên tục - rất hay



randykwong87
02-05-2011, 08:41 PM
Tình cờ biết được cái này , không biết đã ai share chưa nhưng mình xin share cho tất cả các bạn xài chơi .

-Code này có tính năng cập nhật liên tục video ở youtube và rất gọn , các bạn xem Demo sau thì sẽ dễ hiểu hơn nhé :

DEMO NÈ (http://baylennao.vnn.ms/diendan.php)


code đây , các bạn dán vào nơi các bạn muốn hiển thị nhé :




<!-- ++Begin Video Bar Wizard Generated Code++ -->
<!--
// Created with a Google AJAX Search Wizard
// http://code.google.com/apis/ajaxsearch/wizards.html
-->

<!--
// The Following div element will end up holding the actual videobar.
// You can place this anywhere on your page.
-->
<div id="videoBar-bar">
<span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Đang tải...</span>
</div>

<!-- Ajax Search Api and Stylesheet
// Note: If you are already using the AJAX Search API, then do not include it
// or its stylesheet again
-->
<script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vbw"
type="text/javascript"></script>
<style type="text/css">
@import url("http://baylennao.vnn.ms/kute14v1/images/cotphai/js/gsearch.css");
</style>

<!-- Video Bar Code and Stylesheet -->
<script type="text/javascript">
window._uds_vbw_donotrepair = true;
</script>
<script src="http://baylennao.vnn.ms/kute14v1/images/cotphai/js/gsvideobar.js?mode=new"
type="text/javascript"></script>
<style type="text/css">
@import url("http://baylennao.vnn.ms/kute14v1/images/cotphai/js/gsvideobar.css");
</style>

<style type="text/css">
.playerInnerBox_gsvb .player_gsvb {
width : 320px;
height : 260px;
}
</style>
<script type="text/javascript">
function LoadVideoBar() {

var videoBar;
var options = {
largeResultSet : !false,
horizontal : false,
autoExecuteList : {
cycleTime : GSvideoBar.CYCLE_TIME_MEDIUM,
cycleMode : GSvideoBar.CYCLE_MODE_LINEAR,
executeList : ["ytchannel:rickykwong87","vong 1 khung","nu sinh danh nhau","lot ao","quay len","show hang 9x","show hang 8x","wc show hang","thu dam","hoc sinh","nha nghi","hai hoai linh","hai xuan bac","hai gala cuoi","hai nhat cuong","trong cong vien","quay len em","quay trom","nu sinh quoc oai","canh sat danh nguoi","tai nan khung khiep","em that sexy","lam tinh","may mua","9x khoe hang","8x khoe hang","9x tu suong","8x tu suong","em tu suong","cam tre em duoi 18","hiep dam","dan choi 9x","dan choi 8x","dan choi sai gon","dan choi ha noi","dua xe sai gon","dua xe ha noi","girl sexy","girl vu to","vu sieu khung","ky luc viet nam","ky luc the gioi","ky luc nhanh nhat the gioi","9x shock","10x lam gi the nay","dan choi 10x"]
}
}

videoBar = new GSvideoBar(document.getElementById("videoBar-bar"),
GSvideoBar.PLAYER_ROOT_FLOATING,
options);
}
// arrange for this function to be called during body.onload
// event processing
GSearch.setOnLoadCallback(LoadVideoBar);
</script>
<!-- ++End Video Bar Wizard Generated Code++ -->

2982

Tiểu Bá Vương 1404
02-05-2011, 08:45 PM
Cái list này tùy chỉnh và tạo code trong YouTube được.