Menu

Commit [r1506]  Maximize  Restore  History

Remove (undocumented) setupOverriddenTraits method. A ProxyElement subclass should set up its own traits by overriding setupTraits instead. If the subclass needs to access the proxiedElement during its trait setup operation, then it should override the proxiedElement setter to gain access to it and do that logic there. Updated plugins (captioning, MAST) and examples in ExamplePlayer to demonstrate this. Note that with this fix, overridden traits apply for the lifetime of the ProxyElement, rather than for the lifetime of the proxiedElement, which ought to be more intuitive.

briggs@adobe.com 2010-04-12

changed /osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/ads/AdProxy.as
changed /osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/loaderproxy/AsynchLoadingProxyElement.as
changed /osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/loaderproxy/VideoProxyElement.as
changed /osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/posterframe/RTMPPosterFrameElement.as
changed /osmf/trunk/framework/OSMF/org/osmf/elements/DurationElement.as
changed /osmf/trunk/framework/OSMF/org/osmf/elements/ProxyElement.as
changed /osmf/trunk/framework/OSMFTest/org/osmf/elements/TestProxyElementAsDynamicProxy.as
changed /osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/media/CaptioningProxyElement.as
changed /osmf/trunk/plugins/MASTPlugin/org/osmf/mast/media/MASTProxyElement.as
/osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/ads/AdProxy.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/loaderproxy/AsynchLoadingProxyElement.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/loaderproxy/VideoProxyElement.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/posterframe/RTMPPosterFrameElement.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMF/org/osmf/elements/DurationElement.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMF/org/osmf/elements/ProxyElement.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/org/osmf/elements/TestProxyElementAsDynamicProxy.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/media/CaptioningProxyElement.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/plugins/MASTPlugin/org/osmf/mast/media/MASTProxyElement.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.