Commit 01501c48 authored by liujiangnan's avatar liujiangnan

debug: 测试音频

parent a8010120
......@@ -146,11 +146,6 @@ export class PlayComponent implements OnInit, OnDestroy {
}, this.KEY);
//
// // this.initAudio();
// this.initImg();
// this.initListener();
}
......@@ -503,11 +498,11 @@ export class PlayComponent implements OnInit, OnDestroy {
});
this.playAudio('tip', true);
// this.playAudio('tip', true);
if (shape.audio) {
shape.audio.play();
}
// if (shape.audio) {
// shape.audio.play();
// }
shape.end = true;
......
......@@ -9,6 +9,11 @@
<link rel="icon" type="image/x-icon" href="favicon.ico">
<script type="text/javascript" src="http://teach.cdn.ireadabc.com/h5template/h5-static-lib/js/air.js"></script>
<script src="https://cdn.bootcss.com/vConsole/3.3.4/vconsole.min.js"></script>
<script>
// 初始化
var vConsole = new VConsole();
</script>
</head>
<body>
<app-root></app-root>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment