embedding audio and video – made easy in HTML 5 – go firefox3.1

Embedding video in HTML is very easy now, (no need to code streaming apis).

All we need to do is just use videos same as how we embed image. Firefox3.1 has this feature enabled and its very simple.

<video src="videofile.ogg" autoplay>
  Your browser does not support the <code>video</code> element.
</video>

This will embed video in your page and starts steaming when sufficient data has been received.
Check the sample videos hosted at [2]

References:

  1. https://developer.mozilla.org/En/HTML/Element/Video
  2. http://www.double.co.nz/video_test/
Advertisements

One thought on “embedding audio and video – made easy in HTML 5 – go firefox3.1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s