HTML and CSS Reference
video relatively complex. Compare the markup required to add an
image to a web page with that typically required to add a video.
<param name="quality" value="high">
<param name="bgcolor" value=#ffffff>
Because there's no native support for audio and video, web authors
have had to resort to browser plug-ins. The web has largely settled on
Adobe Flash as a de facto standard, but as the previous code shows,
this is still a good deal more complex than putting an image on a page.
And that's not all the code that's required: to add controls such as Play
and Pause, there must be code written inside Flash, and even more
code if the player needs to be integrated into other page content.
One of the reasons for YouTube's popularity is that it reduces the
complexity of displaying video on the web—instead of doing all the
work yourself, you upload the video to YouTube and then copy and
paste some code. But HTML should make it that simple without the need
for a third — party site. This is a problem remedied in HTML5 with the
introduction of the <audio> and <video> elements.