In the documentation on this page: http://www.cocos2d-x.org/reference/html5-js/index.html is method:
Play sound effect.
var soundId = cc.AudioEngine.getInstance().playEffect(path);
The path of the sound effect with filename extension.
Whether to loop the effect playing, default value is false
But when I try to loop effect I have following error:
jsb: ERROR in JSB_SimpleAudioEngine_playEffect_pitch_pan_gain_: Error in number of arguments
Is documentation wrong or there is a bug?