Menu

Commit [r1207]  Maximize  Restore  History

Initial commit of refactored metadata API. Note that this is the first step in a major, multi-step refactoring, so there may be some stability issues until the last step is made. Highlights of the changes:

- Simpify metadata API from Metadata + Facet + FacetKey, to a single Metadata class that exposes a key-value pair based API, plus change events.
- Modify MediaResourceBase and MediaElement to expose add/remove/get methods for metadata, rather than a singular metadata property. MediaElement dispatches change events via the new MediaElementEvent.
- Rename/Refactor TemporalFacet to TimelineMetadata (ditto for event class), which extends Metadata and works with a generic TimelineMarker class to represent a marker on the media's timeline.
- Remove MetadataNamespaces, the properties behind these client-facing namespaces (which previously were set through facets) can now be set through strongly-typed properties on MediaResourcBase, URLResource, or StreamingURLResource. This includes media type, MIME type, subclip points, DRM metadata, and more.
- Move CuePoint and CuePointType to metadata package. CuePoint now subclasses TimelineMarker.

briggs@adobe.com 2010-02-27

<< < 1 .. 3 4 5 6 7 > >> (Page 5 of 7)
copied /osmf/trunk/framework/OSMFTest/org/osmf/elements/TestCuePoint.as -> /osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestCuePoint.as
added /osmf/trunk/framework/OSMFTest/org/osmf/layout/TestAbsoluteLayoutMetadata.as
removed /osmf/trunk/framework/OSMFTest/org/osmf/layout/TestAnchorLayoutFacet.as
added /osmf/trunk/framework/OSMFTest/org/osmf/layout/TestAnchorLayoutMetadata.as
removed /osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutAttributesFacet.as
added /osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutAttributesMetadata.as
changed /osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutRenderer.as
removed /osmf/trunk/framework/OSMFTest/org/osmf/layout/TestPaddingLayoutFacet.as
added /osmf/trunk/framework/OSMFTest/org/osmf/layout/TestPaddingLayoutMetadata.as
removed /osmf/trunk/framework/OSMFTest/org/osmf/layout/TestRelativeLayoutFacet.as
added /osmf/trunk/framework/OSMFTest/org/osmf/layout/TestRelativeLayoutMetadata.as
changed /osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaElement.as
changed /osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaPlayerWithDynamicStreamingVideoElementSubclip.as
changed /osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaPlayerWithVideoElementSubclip.as
changed /osmf/trunk/framework/OSMFTest/org/osmf/media/TestURLResource.as
removed /osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestFacet.as
removed /osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestFacetGroup.as
removed /osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestFacetKey.as
renamed /osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMediaType.as -> /osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaType.as
renamed /osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMediaTypeUtil.as -> /osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaTypeUtil.as
changed /osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMetadata.as
added /osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMetadataGroup.as
changed /osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMetadataWatcher.as
/osmf/trunk/framework/OSMFTest/org/osmf/layout/TestAbsoluteLayoutMetadata.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/layout/TestAnchorLayoutMetadata.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutAttributesMetadata.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutRenderer.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/layout/TestPaddingLayoutMetadata.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/layout/TestRelativeLayoutMetadata.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaElement.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaPlayerWithDynamicStreamingVideoElementSubclip.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaPlayerWithVideoElementSubclip.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/media/TestURLResource.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMetadata.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMetadataGroup.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMetadataWatcher.as Diff Switch to side-by-side view
Loading...
<< < 1 .. 3 4 5 6 7 > >> (Page 5 of 7)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.