web/static/res/js/audio.js
author ymh <ymh.work@gmail.com>
Fri, 18 Jan 2013 05:29:17 +0100
changeset 85 c2897ac5c96b
parent 78 8c3f0b94d056
permissions -rw-r--r--
Added tag V01.17 for changeset 1da4566344ea

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