내 프로젝트에서 soundmanager2를 사용 중입니다. 그것은 루프를 가지고 있기 때문에 사운드 파일이 루프와 반복됩니다 ..하지만 불행히도 루프 사이에 간격이 반복,이 루프 간격은 크롬 브라우저에서 작지만, 내 프로젝트를 탐색 할 때 더 많은 차이가 있습니다. 내 목표는 지속적으로 달성이 긴 노래처럼 듣는 소리입니다 짧은 사파리 또는 아이 패드는 ,,,, .. 어떤 도움사운드 관리자를 통해 재생 간격이 좁음
<script type="text/javascript" src="script/soundmanager2.js"></script>
<script type="text/javascript">
var loops = 3 ;
var looped = 0;
soundManager.flashVersion = 9;
soundManager.url = 'swf/';
soundManager.onready(function() {
soundManager.createSound({
id: "sound1",
url: "audiofiles/sound1.wav",
stream: true,
autoPlay: true,
multiShot: true,
onfinish: function() {
if (looped < loops) {
soundManager.play('sound1');
looped++;
} else {
looped = 0;
}
}
});
soundManager.play('sound1', { loops: 3 });
});
</script>
내가 확실히하려고합니다 ,, u는 기록에서 내 오래된 질문을 가지고 어떻게 thnx 사람, –