Actions World Background
Actions World Background Actions World Background Actions World Background
Actions World Background

HTML5 Video - London College of Communication

On the 3rd November, 2011, I gave a talk about writing a Freeway Action to include the HTML5 Video tag. A version of the talk is viewable on this page to the right (give it time to load), as well as some extra resources.

Freeway Actions can be used not to just introduce new functionality to a website, but also to keep Freeway “up to date”. The HTML5 video tag is being used more and more, and it’s an almost trivial task to write an Action to tell Freeway how to generate it. Note that right now, this Action will break validation on your site. I understand that there is an Action which will fix this problem coming soon from Softpress.

Download a copy of the Action

I am making a copy of the Action I presented available to you here. I am hoping that you can look at it, learn from it and hopefully modify it to suit your own needs.

DOWNLOAD

If you want to try your hand at modifying this Action, here are some ideas:

1 - Make a copy of this Action and adapt it to output the equivalent HTML5 Audio Tag.

2 - Make the Action include content that will work on browsers that do not support the HTML5 video tag.

3 - Make an Action that gives the user an option to choose which tag to output (<audio> or <video>), supply the interface elements for each, and output the appropriate code.

I hope you find this useful.