src property

This topic has not yet been rated - Rate this topic

The address or URL of the a media resource (videoaudio) that is to be considered.

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

Syntax

JavaScript

sURL = object.src

Property values

Type: String

The address or URL of a media resource.

Standards information

Remarks

This property overrides a source element if both are used in a document.

See also

track element
track object
source
media
audio element
audio object
video element
video object
currentSrc
How to use HTML5 to play video files on your webpage
How to use HTML5 to Add an Audio Player to your Webpage
Make your videos accessible with Timed Text Tracks

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.