Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Lopez Toledo <zer.subzero@gmail.com>2009-09-11 20:56:01 (GMT)
committer Felipe Lopez Toledo <zer.subzero@gmail.com>2009-09-11 20:56:01 (GMT)
commitd165595025e5e640b556462e43d0f82dc4e58b95 (patch)
tree610615e9ea45af32c496f4a1f0a4c27edd9c59f0
parent82d3cf357134006c148a3251a098fdfffbe3d34a (diff)
audio "stuttering" fixed: https://bugs.launchpad.net/karma/+bug/426108 It works (only) with ff 3.5.2, google chrome 2.0.172.43 doesn't support audio element and chromium 4.0.208.0 (25997) just plays the audio clip once
-rwxr-xr-xjs/jquery.karma.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/jquery.karma.js b/js/jquery.karma.js
index 261e9f8..24dd7ab 100755
--- a/js/jquery.karma.js
+++ b/js/jquery.karma.js
@@ -970,6 +970,9 @@ var KSound = Class(
return this.readyState === 4;
},
play: function (){
+ //hack to fix the audio "stuttering"
+ //more info: https://bugs.launchpad.net/karma/+bug/426108
+ this.media.currentTime = 0.1;
this.media.play();
}
}