Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ h4.home {
|
|
79 |
|
80 |
</style><div id="header">
|
81 |
<h4 class="home">Model name</h4>
|
82 |
-
<audio id="audio" src="17.mp3" controls="true"></audio>
|
83 |
</div>
|
84 |
</div>
|
85 |
|
@@ -88,9 +88,12 @@ h4.home {
|
|
88 |
|
89 |
|
90 |
<script>
|
91 |
-
|
92 |
-
|
|
|
|
|
93 |
$a.src=document.querySelector('audio').src;
|
|
|
94 |
window.onkeydown = function(ev) {
|
95 |
if(ev.keyCode == 32) {
|
96 |
ev.preventDefault();
|
|
|
79 |
|
80 |
</style><div id="header">
|
81 |
<h4 class="home">Model name</h4>
|
82 |
+
<audio id="audio" src="17.mp3" controls="true" onload="myFunction543rr()"></audio>
|
83 |
</div>
|
84 |
</div>
|
85 |
|
|
|
88 |
|
89 |
|
90 |
<script>
|
91 |
+
function myFunction543rr(){
|
92 |
+
console.log('loaded00000000000000002');
|
93 |
+
}
|
94 |
+
var $a = document.getElementById("audio");
|
95 |
$a.src=document.querySelector('audio').src;
|
96 |
+
console.log($a);
|
97 |
window.onkeydown = function(ev) {
|
98 |
if(ev.keyCode == 32) {
|
99 |
ev.preventDefault();
|