Adding a YouTube Video with object : object tag « Object « HTML / CSS






Adding a YouTube Video with object

 

<?xml version="1.0" ?>
<!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" lang="en" xml:lang="en">

<head>
  <title>Adding a YouTube Video</title>
</head>

<body>
   
  <h1>Embedding a YouTube Video</h1>

  <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/dMH0bHeiRNg&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/dMH0bHeiRNg&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>



</body>

</html>

   
  








Related examples in the same category

1.'object' Example
2.Embedded content
3.Adding a flash movie with the object element
4.Adding an MP3 without specifying player
5.Adding an MP3 player using Flash