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.2Internet Explorer 9

 

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:
© 2014 Microsoft