web/static/res/js/audio.js
author Edwin Razafimahatratra <edwin@robotalismsoft.com>
Wed, 16 Jan 2013 08:26:00 +0100
changeset 78 8c3f0b94d056
permissions -rw-r--r--
big commit after problems

        	
			// Grab a handle to the video
			var audio = document.getElementsByTagName('audio');
			// Turn off the default controls
			audio.controls = false;	
        	
/* function togglePlayPause() {
   var playpause = document.getElementById("playpause");
   if (video.paused || video.ended) {
      playpause.title = "pause";
      playpause.innerHTML = "pause";
      video.play();
   }
   else {
      playpause.title = "play";
      playpause.innerHTML = "play";
      video.pause();
   }
}*/