Advertisement
Guest User

HTML5 Video with Progress bar

a guest
Oct 13th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.70 KB | None | 0 0
  1. <html>
  2.     <head>
  3.  
  4.     <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
  5.     <script type="text/javascript">
  6.     $(document).ready(function(){
  7.        $("#alcatelvideo").bind('ended', function(){
  8.            location.href="http://alcatelonetouchevo7.com.br/";
  9.        });
  10.     });
  11.     </script>
  12.  
  13.     </head>
  14.     <body>
  15.     <video id="alcatelvideo" width="100%" height="100%" autoplay>
  16.         <source src="http://alcatelonetouchevo7.com.br/videos/EVO7_Tablet_H264_Youtube_640_360.oggtheora.ogv" type="video/ogg" />
  17.         Your browser does not support the video tag.
  18.     </video>
  19.     <progress id='alcatelvideo' style="width: 100%;"></progress>
  20.     </body>
  21. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement