SHARE
TWEET

Untitled

a guest Mar 29th, 2011 352 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <video id="movie" width="550" height="300" preload controls autoplay>
  2.   <source src="movie.webm" type='video/webm; codecs="vp8, vorbis"' />
  3.   <source src="movie.ogv" type='video/ogg; codecs="theora, vorbis"' />
  4.   <source src="movie.mp4" />
  5.   <object width="550" height="300" type="application/x-shockwave-flash"
  6.     data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf">
  7.     <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" />
  8.     <param name="allowfullscreen" value="true" />
  9.     <param name="flashvars" value='config={"clip": {"url": "movie.mp4", "autoPlay":true, "autoBuffering":true}}' />
  10.    
  11.   </object>
  12. </video>
  13. <script>
  14.   var v = document.getElementById("movie");
  15.   v.onclick = function() {
  16.     if (v.paused) {
  17.       v.play();
  18.     } else {
  19.       v.pause();
  20.     }
  21.   };
  22. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top