View Single Post
Old 02-13-2013, 10:06 PM   PM User | #3
Entity_
New Coder

 
Join Date: Dec 2012
Location: Ingerlund
Posts: 62
Thanks: 8
Thanked 4 Times in 4 Posts
Entity_ is an unknown quantity at this point
Code:
<audio id="player" autoplay loop>
  <source src="assets/birds.mp3" type="audio/mpeg">
  <source src="assets/birds.ogg" type="audio/ogg">
  <source src="assets/birds.wav" type="audio/wav">
Your browser does not support the audio element.
</audio>
The player I'm using is just a basic HTML5 audio element. As for sound1.currentTime, no it doesn't seem to produce a value above 0 unless I misunderstand your question. I'm not sure why this is happening though, as I've used the value before with no problems.
Entity_ is offline   Reply With Quote