Beispiel #1
0
	$.ajax({
		url : 'service.php/youtube/getYoutube',
		type : 'post',
		data : {country:country, category:category},
		success : function(data){
		$('#show_area').html(data);
		}
	});
	});
	
	$('#yt_btn').click();
	
});

</script>
</head>
<?php 
include_once "api.php";
?>
<body>
<h2>Sample Youtube Video Feeds</h2>
<?php 
$youtube = new Youtube();
$youtube->renderCategories();
?>
<div id="show_header">Simple Youtube Widget</div>
<div id="show_area"></div>
<div id="show_footer"></div>
</body>
</html>