Browse Source

Merge remote-tracking branch 'lqdchrm/audio' into dev

Mr.doob 12 năm trước cách đây
mục cha
commit
4da9f68281
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/js/AudioObject.js

+ 1 - 1
examples/js/AudioObject.js

@@ -38,7 +38,7 @@ THREE.AudioObject = function ( url, volume, playbackRate, loop ) {
 
 		try {
 
-			this.context = new webkitAudioContext();
+			THREE.AudioObject.prototype.context = new webkitAudioContext();
 
 		} catch( error ) {