diff --git a/CHANGELOG.md b/CHANGELOG.md index cc6b6abe18..5260c40fec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Version 1.8.3-dev * Bugfixes + * support url field change for AudioClip * better indices for textured IFS with creases * ensure correct children order after ExternProto instancing * delete Bindables on Inline removal diff --git a/src/nodes/Sound/AudioClip.js b/src/nodes/Sound/AudioClip.js index 2906ad4b7d..0086efa7c5 100644 --- a/src/nodes/Sound/AudioClip.js +++ b/src/nodes/Sound/AudioClip.js @@ -90,7 +90,6 @@ x3dom.registerNodeType( this._startAudio = function () { - that._audio.loop = that._vf.loop ? "loop" : ""; if ( that._vf.enabled === true ) { that._audio.play() @@ -165,6 +164,7 @@ x3dom.registerNodeType( src.setAttribute( "src", audioUrl ); this._audio.appendChild( src ); } + this._audio.load(); } },