Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>test vid</title>
- <script src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- $("#videoPlayer").bind('ended', function(){
- videoPlayer.src = "pipe.ogv";
- });
- });
- </script>
- </head>
- <body>
- <video id="videoPlayer" src="pipe2.ogv" controls autobuffer autoplay/>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement