Jump to content

How can I get an embed tag to load new properties?


Col. Newman

Recommended Posts

You can probably see from the code what I'm trying to do, but it's not working at all===========================Here is my latest Try I have now read that the embed tag doesn't work in XHTML so I changed it to an object tag but it still doesn't work

<html>  <head>  <script type="text/javascript">function PlayTrailer(Source,PWidth,PHeight) {//document.embeds["Player"].src=Source; //document.embeds["Player"].width=PWidth; //document.embeds["Player"].height=PHeight;document.getElementById("Player").dataSrc=Source; document.getElementById("Player").width=PWidth;document.getElementById("Player").height=PHeight;}</script>  </head>  <body>  <table width="600" border="0"><tr>  <td width="198">  	<table width="199" border="0">  	<tr>    	<td width="193">      <a href="java script:PlayTrailer('http://jowood.inode.at/stargate/stargate_trailer_e3_hi.wmv','320','278')">Stargate SG-1: The Alliance</a>    	</td>    </tr>    <tr>    	<td> </td>    </tr>    <tr>    	<td> </td>    </tr>    <tr>    	<td> </td>    </tr>    <tr>    	<td> </td>    </tr>    <tr>    	<td> </td>    </tr>    </table>  	</td>    <td width="392" align="center">    	<object  name="Player" id="Player"></object>   </td>  	</tr>  	</table>  	</body> 	</html>

--------------------Changed

 to 



			
				


	Edited  by Jonas
	
	

			
		
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...