HTML5 Video Supporting Browsers – Beginners Guide – 015

HTML5 Video Supporting Browsers – Beginners Guide – 015

HTML5 Video Supporting Browsers – Beginners Guide – 015.

This tutorial is connected from the previous HTML5 tutorial, the “HTML5 Video Attributes“.

This tutorial will provide a flash fallback to your HTML5 Video and it is really nice and easy. We can call this Video for Everybody. We are going to access the site http://sandbox.thewikies.com/vfe-generator/.

This is a website where you can provide your video link from your file and paste it on their specific fields like MP4, WebM and Ogg. After you have placed your video link from file, you can also put a poster image as well as giving it a title.

You can also adjust your video’s resolution on this website and you can select the embed type for your HTML5 video. Here’s the interface of the website:

HTML5 Video Supporting Browsers – Beginners Guide – 015

First, follow my example image for the adjustments of your HTML5 Video.

HTML5 Video Supporting Browsers – Beginners Guide – 015

First, I pasted the source file of our MP4 and WebM video to its specified field. Notice that I left the Ogg Video field in blank because we do not have that type of video.

Next, we removed the poster image and change the fallback title of our HTML5 Video. Also, we adjusted our resolution and chose the default embed type HTML5+Flash.

After changing the properties, you can now copy the provided code at the bottom of the site and replace it on your recent video tag code. Take note that you don’t have to copy the bottom paragraph tag provided by the site.

[html5]

<video controls=”controls” width=”500″ height=”500″><video controls=”controls” width=”500″ height=”500″> <source src=video/IMG_0463.mov type=video/mp4 /> <source src=video/IMG_0463.webm type=video/webm /> http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf </video>

[/html5]

Try to check your new video tag code if it works especially on different browsers. This Video for Everybody let’s your HTML5 video coding faster because you don’t have to type for the specifc attributes!

Here’s the result of my new modified video tag:

HTML5 Video Supporting Browsers – Beginners Guide – 015

It is good and running smoothly!

This ends on our tutorial, HTML5 Video Supporting Browsers – Beginners Guide.

On our next tutorial, we will be discussing about “How to Play Audio with HTML5”. Stay tuned webbies!

For questions or any other concerns or thesis/capstone creation with documentation, you can contact me through the following:

E-Mail: [email protected]

Facebook: facebook.com/kirk.lavapiez

Contact No.: +639771069640

Ian Hero L. Lavapiez

BSIT Graduate, soon to be MIT.

System Analyst and Developer

Related topic(s) that you may like:

 

Leave a Comment