Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

currentSrc property

Gets the address or URL of the current media resource (video,audio) that is selected by IHTMLMediaElement.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.2

 

Syntax

JavaScript

URL = object.currentSrc

 

Property values

Type: String

The current media resource address.

Standards information

Remarks

currentSrc returns an empty string if a media resource has not been specified.

See also

audio element
audio object
media
video element
video object
src

 

 

Show: