Hou can I analyze audio via DOM inspector?

jordao

New member
XNullUser
Joined
Mar 5, 2022
Messages
3
Reaction score
0
Points
1
NullCash
1
The AudioDur() function gets the element with id “Audio” associated with it. It gets the <audio> element and uses the duration property to get its duration. The duration is displayed in the paragraph with id “Sample” associated with it.

function AudioDur() {
var x = document.getElementById("Audio").duration;
document.getElementById("SAMPLE").innerHTML = x;
}

Is it possible?
Post automatically merged:

Anyone can help, please?
 

hello833

New member
XNullUser
Joined
Mar 5, 2022
Messages
9
Reaction score
0
Points
1
NullCash
4
try it - document.getElementById("AOWE").
 

xfnulledty

New member
XNullUser
Joined
Mar 5, 2022
Messages
12
Reaction score
0
Points
1
NullCash
11
You cannot analyze audio this way, you should learn coding/javascript and how it works, good luck.
 
Top