Computer Programming School -  Web School
Da Clock and Date Stuff
Page last modified: 30 June 2008

Source Code For Playing a You Tube Video on A Web Page

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<title>Sample Code For Playing a You Tube Video</title>
	<meta http-equiv="Content-Language" content="en-us" />
	
	<meta http-equiv="imagetoolbar" content="no" />
	<meta name="MSSmartTagsPreventParsing" content="true" />
	
	<meta name="description" content="Computer and Internet Courses covering HTML, XHTML, CSS, Javascript, PHP, MySQL, Dot Net, Visual Basic, Visual C++, Programming." />
    
	<meta name="keywords" content="internet, internet school, web school, computer school, web diploma" />
	
	<meta name="author" content="Cathay Pacific Webschool" />

<style type="text/css">
<!--
.style1 {
	font-size: 18px;
	font-weight: bold;
	}
.subHead {
	font-style:italic;
	font-weight:bold;
	font-size: 80%;
	margin-top:12px;
	}	
	
.description {
		background-color:#CCCCCC;
		font-size:80%;
		}	
-->
</style>
<link href="http://www.cpwww888.com/CSS/header.css" rel="stylesheet" type="text/css" />
<script src="http://www.cpwww888.com/scripts/startTime.js"></script>
</head>
<body onLoad="startTime()";>

<?php 	include('http://www.cpwww888.com/includes/header.php');
		include('includes/dateStuff.php');
		include('http://www.cpwww888.com/includes/codeBox.php'); 
echo '<h2>Code For Playing a You Tube Video</h2>'; ?>
<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/rJYk-asu0oE&hl=en">
</param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/rJYk-asu0oE&hl=en" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344">
</embed>
</object>


<div class = "codeBox">
<h3> The Code: &nbsp;</h3>
<pre> 
&lt;object width="425" height="344"&gt;
&lt;param name="movie" value="http://www.youtube.com/v/rJYk-asu0oE&amp;hl=en"&gt;
&lt;/param&gt;
&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;
&lt;embed src="http://www.youtube.com/v/rJYk-asu0oE&amp;hl=en" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"&gt;
&lt;/embed&gt;
&lt;/object&gt;	
</pre>
<h3> Original Code from: &nbsp;</h3>
  <a href="http://www.youtube.com/watch?v=rJYk-asu0oE&amp;feature=related">http://www.youtube.com/watch?v=rJYk-asu0oE&amp;feature=related</a> 
</div>

</body>
</html>