web/static/res/js/audio.js
author Edwin Razafimahatratra <edwin@robotalismsoft.com>
Fri, 18 Jan 2013 18:50:53 +0100
changeset 88 eeb0a6f3c07d
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();
   }
}*/