回答編集履歴
1
ソースコードの修正
test
CHANGED
@@ -48,13 +48,13 @@
|
|
48
48
|
|
49
49
|
document.getElementById("srcElement").setAttribute('src', src[rand]);
|
50
50
|
|
51
|
-
audio_elm = document.getElementById("audioElement");
|
51
|
+
//var audio_elm = document.getElementById("audioElement");
|
52
52
|
|
53
53
|
//audio_elm.play();
|
54
54
|
|
55
55
|
});
|
56
56
|
|
57
|
-
audio_elm = document.getElementById("audioElement");
|
57
|
+
var audio_elm = document.getElementById("audioElement");
|
58
58
|
|
59
59
|
audio_elm.addEventListener('ended', function(){
|
60
60
|
|