HTML and CSS Reference
In-Depth Information
src="
URL
URL
"
Specifies the location of the audio or video file
type="
MIME type
MIME type
"
Indicates the file type of the media file and may also include the
codecs=
MIME paramet-
er indicating the codec used to encode the media
Example
<video>
<source src=
"media/vacation.ogv"
type=
"video/ogg;
codecs='theora, vorbis'"
>
<source src=
"media/vacation.mp4"
type=
"video/mp4"
>
Your browser doesn't support the <code>video</code>
element.
</video>