<script type="text/javascript"> var myVideo=document.getElementById("myVideo"); function playPause() { if (myVideo.paused) myVideo.play(); else myVideo.pause(); } function toBig() { myVideo.width=560; } function toNormal() { myVideo.width=420; } function toSmall() { myVideo.width=320; } </script>