diff options
author | Felipe 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) |
commit | d165595025e5e640b556462e43d0f82dc4e58b95 (patch) | |
tree | 610615e9ea45af32c496f4a1f0a4c27edd9c59f0 | |
parent | 82d3cf357134006c148a3251a098fdfffbe3d34a (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-x | js/jquery.karma.js | 3 |
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(); } } |