Menu

Commit [r1081]  Maximize  Restore  History

PARB refactoring: Remove IMediaReferrer interface and CREATE_ON_LOAD type. The IMediaReferrer interface has been supplanted by a mediaElementCreationNotificationFunction property on MediaFactoryItemType. This callback is invoked any time the MediaFactory creates a new MediaElement. Thus, the MediaFactoryItem from the PluginInfo can coordinate any cross-referencing between its MediaElements and the factory's created MediaElements. And given that CREATE_ON_LOAD was introduced to ensure that the MediaFactoryItem's MediaElement could pick up references to other created MediaElements, that type is no longer necessary because the MediaFactoryItem could specify a notification callback, and do the initialization work it wanted to do at "create on load" time in its own constructor. In other words, by decoupling MediaElement referencing from the MediaElements themselves, we remove the need for CREATE_ON_LOAD.

The ControlBarPluginSample has been updated to demonstrate how to accomplish referencing without the use of IMediaReferrer.

Update unit tests, plugins, and sample apps.

briggs@adobe.com 2010-02-12

changed /osmf/trunk/apps/samples/plugins/ControlBarPluginSample/src/ControlBarElement.as
changed /osmf/trunk/apps/samples/plugins/ControlBarPluginSample/src/ControlBarPlugin.as
changed /osmf/trunk/framework/OSMF/.flexLibProperties
removed /osmf/trunk/framework/OSMF/org/osmf/media/IMediaReferrer.as
changed /osmf/trunk/framework/OSMF/org/osmf/media/MediaFactory.as
changed /osmf/trunk/framework/OSMF/org/osmf/media/MediaFactoryItem.as
changed /osmf/trunk/framework/OSMF/org/osmf/media/MediaFactoryItemType.as
changed /osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaFactory.as
changed /osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaFactoryItem.as
changed /osmf/trunk/framework/OSMFTest/org/osmf/plugin/CreateOnLoadPluginInfo.as
changed /osmf/trunk/framework/OSMFTest/org/osmf/plugin/TestPluginManager.as
changed /osmf/trunk/framework/OSMFTest/org/osmf/utils/DynamicReferenceMediaElement.as
changed /osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/CaptioningPluginInfo.as
changed /osmf/trunk/plugins/MASTPlugin/org/osmf/mast/MASTPluginInfo.as
/osmf/trunk/apps/samples/plugins/ControlBarPluginSample/src/ControlBarElement.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/apps/samples/plugins/ControlBarPluginSample/src/ControlBarPlugin.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMF/.flexLibProperties Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMF/org/osmf/media/MediaFactory.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMF/org/osmf/media/MediaFactoryItem.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMF/org/osmf/media/MediaFactoryItemType.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaFactory.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaFactoryItem.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/plugin/CreateOnLoadPluginInfo.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/plugin/TestPluginManager.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/utils/DynamicReferenceMediaElement.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/CaptioningPluginInfo.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/plugins/MASTPlugin/org/osmf/mast/MASTPluginInfo.as Diff Switch to side-by-side view
Loading...
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.