web/static/res/js/audio.js
author Edwin Razafimahatratra <edwin@robotalismsoft.com>
Wed, 16 Jan 2013 21:26:15 +0100
changeset 80 46b897524cc4
parent 78 8c3f0b94d056
permissions -rw-r--r--
resync

        	
			// 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();
   }
}*/