![]() |
VOOZH | about |
The Audio currentSrc property is used for returning the URL of the current audio. The Audio currentSrc property returns an empty string if no audio is specified. The Audio currentSrc property is a read-only property.
Syntax:
audioObject.currentSrc
The below program illustrates the Audio currentSrc Property:
Example: Getting the URL of the current audio.
Output:
Supported Browsers: The browser supported by HTML DOM Audio currentSrc Property are listed below: