Col. Newman Posted December 10, 2005 Share Posted December 10, 2005 (edited) 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 December 11, 2005 by Jonas Link to comment Share on other sites More sharing options...
Col. Newman Posted December 12, 2005 Author Share Posted December 12, 2005 2 and a half days and no body??? Link to comment Share on other sites More sharing options...
aspnetguy Posted December 13, 2005 Share Posted December 13, 2005 I don't think it can be done without the <embed>You may have to change that page to XHTML 1.0 transitional. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now