Video API
Defining an Enhanced API for Video
Abstract
The HTML5 specification introduces the <audio> and <video> media elements, and with them the opportunity to dramatically change the way we integrate media on the web. The current HTML5 media API provides ways to play and get limited information about audio and video, but gives no way to programatically access or create such media. We present a new extension to this API, which allows web developers to read and write raw audio data.
Authors
Other Contributors
- Brett Gaylor
Status
This is a work in progress.
XML Grammar
We are trying to derived the best possible structure for all of the information needed to be stored about the video. We also do not want to repeat information, here is what we identified would be repeating data (we called this the manifest):
Source - ID - Name of Work - Copyright Holder - License (free form text) - License (machine readable URL)
Person - URLs?? (twitter, facebook, flickr) and a Type - Personal Info - name (fullname) - ID - Title (job description) - Salutation - Role
Place - Geotag (single) - Type (building) - URLs, type - Name - ID
Object - ID - Name - URLS, Type
Here is what we cam up with for tags:
Text -(for times when you want really fine control over placement of the text) - x, y postion - target div where it's going to get put - class - font (css) -- class, css transitions (state and state and duration) - effects - space separated
Subtitles -Always at the bottom
Lower-Third Text (need a name) - would need a default duration, but user configurable, and overridable - in="x" - Show - Defaults (3 seconds) - Person's Salutation + Name\n Title - lower thirds Subtitle - text to display - in="x" and out="y" - position in lower area Transctipt - original language - language its in - name of person who is talking - imported from external file Credits -<credit role="…" person="…"> -<credit role="…" person="…">
Attribution - Name of Work, Copyright holder, License, License URL - in="x" and out="x" - lower third - <attribution title="The Mona Lisa" by="Leonardo" license="> - each
Caption - (x,y) and (width,height) - class (background, colour, etc.) - text - display:none until we show it - in="x" and out="y"
- a