FLOE-119: Write metadata to the DOM

Metadata

Source
FLOE-119
Type
Sub-task
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2013-11-29T12:42:12.017-0500
Updated
2013-12-18T11:59:03.679-0500
Versions
N/A
Fixed Versions
N/A
Component
  1. Metadata

Description

Metadata generated/created for the resources in the demo should be written to the DOM. We'll probably need to create a component that writes out some model of the metatdata from memory into the DOM.

Example model:

{
url: "path/to/video.mp4",
highContrast: true,
signLanguage: true,
flashing: flashing, // noFlashing, unknown are alternatives
captions: [{
src: "path/to/captions.srt",
language: "fr-CA" // language code
}],
audio: "available", // unavailable, unknown are alternatives
audioKeywords: ["dialogue", "soundtrack", "sound effect"]
}

Comments