Current Assignment(s)
A5: Multimedia
Due: Recommended by Monday, 5.28
Due: Recommended by Monday, 5.28
Adding the <source> Tag
<video poster="#" width="..." height="..." preload controls >
<source src="#" type="" / >
</video>
You can use multiple source elements, which specifies to the browser the video is available in multiple formats. This is the <source />
element, and again, it is used instead of the src=""
attribute of a <video>
element.
NOTE: Due to a bug on the iPad, you should provide the MP4 video as the first format.
- Previous
- Next