HTML – video and audio

One of my most favourite types of content on digital platforms is video. It is used on websites to demonstrate products, share expertise, drive traffic, convert into sales/downloads etc. Until the 5th (current standard) edition of HTML it was impossible to handle multimedia and graphical content.

Different browsers support different types of videos (source w3chools.com):

Screen Shot 2017-03-29 at 9.59.27 PM

To make sure the video can be played across in any browser, it should be encoded in different formats. Below is an example of three videos not encoded that way and failing to play in Internet Explorer.

20170224_201013.jpg

We have then explored other features of coding videos such as autoplay, start time/end time etc.

Below is a sample video where another attribute called Poster was used. It specifies an image to show before the video loads. I chose the image from our desserts exercise!

image (4).png

Advertisements

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