Kamtera commited on
Commit
2661fcb
1 Parent(s): 4a684d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
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
- var $a = document.querySelector("audio");
 
 
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();