Easy Tutorial
❮ Av Event Volumechange Tag Div ❯

HTML Audio/Video DOM currentSrc Property

HTML Audio/Video DOM Reference Manual

Example

Get the URL of the current video:


Definition and Usage

The currentSrc property returns the URL of the current audio/video.

If no audio/video is set, it returns an empty string.


Browser Support

All major browsers support the currentSrc property.

Note: Internet Explorer 8 and earlier versions do not support this property.


Syntax

Technical Details

| Return Value: | String, representing the current URL of the audio/video. | | --- | --- |

❮ Av Event Volumechange Tag Div ❯