Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 25th, 2012  |  syntax: None  |  size: 1.95 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. want to add progress bar
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3.  
  4. <html>
  5.  
  6. <head>
  7.  
  8. <script type="text/javascript">
  9.  
  10. window.onload = function() {
  11.  
  12.     var oVid = document.getElementById("MediaPlayer1");
  13.  
  14.     window.setTimeout(function CheckVidState() {
  15.  
  16.         if (oVid.PlayState == 0) {
  17.  
  18.             window.setTimeout(function() { document.location = "0HOME/HOME.html"; }, 3000);
  19.  
  20.             return true;
  21.         }
  22.  
  23.         window.setTimeout(CheckVidState, 10);
  24.         return false;
  25.     }, 10);
  26. };
  27.  
  28. </script>
  29.  
  30.   <title>WELCOME TO LOTUS TENDA WEBSITE</title>
  31.  
  32.   <script type="text/javascript">
  33.  
  34.   var _gaq = _gaq || [];
  35.  
  36.   _gaq.push(['_setAccount', 'UA-26718107-1']);
  37.  
  38.   _gaq.push(['_trackPageview']);
  39.  
  40.   (function() {
  41.  
  42.     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  43.  
  44.     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  45.  
  46.     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  47.   })();
  48.  
  49. </script>
  50.  
  51. </head>
  52.  
  53. <body bgcolor="#000000">
  54.  
  55.  
  56.  
  57.  
  58. <br>
  59. <table border="0" align=center>
  60.  
  61.    <tr>
  62.  
  63.      <td>
  64.  
  65.      <object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
  66.  
  67. standby="Loading Microsoft Windows® Media Player components..." type="application/x-oleobject" width="700" height="550">
  68.  
  69. <param name="fileName" value="intro.wmv">
  70.  
  71. <param name="animationatStart" value="true">
  72.  
  73. <param name="transparentatStart" value="true">
  74.  
  75. <param name="autoStart" value="true">
  76.  
  77. <param name="showControls" value="false">
  78.  
  79. <param name="Volume" value="-450">
  80.  
  81. <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="intro.wmv" name="MediaPlayer1" width=700 height=550 autostart=1 showcontrols=0 volume=-450>
  82.  
  83. </object>
  84.  
  85.  
  86.  
  87.      </td>
  88.  
  89.        </tr>
  90.  
  91.      </table>
  92. </body>
  93.  
  94. </html>