HTML Audio/Video DOM Reference
Get the current video URL:
The currentSrc property returns the URL of the current audio/video.
If no audio/video is set, an empty string is returned.
![]()
The currentSrc property is supported in all major browsers.
Note: This property is not supported in Internet Explorer 8 and earlier.
| Return Value: | A String, representing the URL of the current audio/video |
|---|
HTML Audio/Video DOM Reference
Your message has been sent to W3Schools.