You are here: Home > HTML Reference > Elements > <video> element > src attribute
Usage
The video src attribute gives the address of the video.
Values
The video src attribute must be a valid URL.
Elements
You can use the src
attribute on the following elements:
- <audio>
- <video>
Browser compatibility
Compatibility table legend
| Test | IE8 | IE7 | IE6 | FF3 | FF2 | Saf3 | Op9 | Chrome | |:---------|:--------|:--------|:--------|:--------|:--------|:---------|:--------|:-----------| | video.src reflects <video src="http://www.example.com/"> | Y | Y | Y | N | N | N | Y | N |