Events

HTML5 Video – Attributes and Events

Wednesday, January 11th, 2012 | Business | No Comments

When working with the new HTML5 video tag, the official documentation is very confusing.  We just want a list of attributes and events!

I ran across an excellent resource, HTML 5 Video – DOM Attributes and Events at chipwreck.

From the post (this is incomplete, please go to the source for a full list):

Display attributes

src(string): The source file

poster(URL): An image to display before the video is playing

controls(boolean): Are the playback-controls being provided by the browser?

videoWidth, videoHeight(integer): The original video size

Playback attributes

currentTime(float): The current playback time in seconds

startTime*(float): The video start time (if the video does not start at 0.0 – streams for example)

duration(float): The duration in seconds

paused(boolean): Is the video currently paused?

ended(boolean): Has the video ended?

autoplay(boolean): Is is set to autoplay?

loop(boolean): Is is set to play in a loop?

They list everything beyond that .. thanks guys!

Tags: , , , ,

Rich Snippets: How to properly list Reviews, People, Businesses, Events and Recipes for Google

Monday, April 26th, 2010 | Business | 4 Comments

Rich snippets let you share your reviews, people, businesses, events and recipes more accurately with Google.  Why do what helps Google?  Because Google will, in turn, help you.

If you properly implement rich snippets in either microdata, microformats or RDFa — you will see more traffic thanks to enhanced listings in Google.  Google provides useful snippets in search results that are more likely to draw the eye and attention of end users.

› Continue reading

Tags: , , , , , , , , , , , , , ,


Please share, it makes me happy:

Subscribe to Email Alerts

Make a Donation

Follow Me

Follow seangw on twitter

Archives

Categories