[svn:osmf:] 13904: Pre-PARB'ing the Layout API continued:
Revision: 13904
Revision: 13904
Author: [email protected]
Date: 2010-02-01 06:51:14 -0800 (Mon, 01 Feb 2010)
Log Message:
Pre-PARB'ing the Layout API continued:
- Internalizing layout facet classes, and
- Adding a public LayoutProperties class,
- Removing LayoutUtils (for setting properties can now be done using LayoutProperties),
- Introducing IMetadataProvider, and marking classes that have a metadata getter to be implementing it,
- Remove LayoutRendererFacet (for it can be fetched/set directly from/to the metadata easily using ObjectFacet),
- Adding LayoutRendererMode, in preparation for horizontal and vertical boxing support on the default renderer,
- Updating client code and unit tests accordingly.
Updating OMSF player to:
- Use the framework layout system to position the control bar,
- as well as for positioning the right-click overlay.
Modified Paths:
osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/AllExamples.as
osmf/trunk/apps/samples/framework/MediaContainerSample/MediaContainerSample.as
osmf/trunk/apps/samples/framework/NestedMediaContainersSample/NestedMediaContainersSample .as
osmf/trunk/apps/samples/framework/OSMFPlayer/src/OSMFPlayer.as
osmf/trunk/framework/OSMF/.flexLibProperties
osmf/trunk/framework/OSMF/org/osmf/composition/CompositeDisplayObjectTrait.as
osmf/trunk/framework/OSMF/org/osmf/display/MediaPlayerSprite.as
osmf/trunk/framework/OSMF/org/osmf/layout/DefaultLayoutRenderer.as
osmf/trunk/framework/OSMF/org/osmf/layout/ILayoutTarget.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutRenderer.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutTargetSprite.as
osmf/trunk/framework/OSMF/org/osmf/layout/MediaElementLayoutTarget.as
osmf/trunk/framework/OSMF/org/osmf/media/MediaElement.as
osmf/trunk/framework/OSMF/org/osmf/media/MediaResourceBase.as
osmf/trunk/framework/OSMF/org/osmf/metadata/MetadataNamespaces.as
osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as
osmf/trunk/framework/OSMFTest/org/osmf/composition/TestParallelElementWithDisplayObjectTr ait.as
osmf/trunk/framework/OSMFTest/org/osmf/containers/TestMediaContainer.as
osmf/trunk/framework/OSMFTest/org/osmf/display/TestMediaContainerGroup.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestDefaultLayoutRenderer.as
osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/ControlBarBase.as
osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/hint/Hint.as
osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/utils/FadingSprite.as
Added Paths:
osmf/trunk/framework/OSMF/org/osmf/layout/AbsoluteLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/AnchorLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutAttributesFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutProperties.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutRendererMode.as
osmf/trunk/framework/OSMF/org/osmf/layout/PaddingLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/RelativeLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/metadata/IMetadataProvider.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutProperties.as
Removed Paths:
osmf/trunk/framework/OSMF/org/osmf/layout/AbsoluteLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/AnchorLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutAttributesFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutRendererFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutUtils.as
osmf/trunk/framework/OSMF/org/osmf/layout/PaddingLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/RelativeLayoutFacet.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutRendererFacet.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutUtils.as
Stop it
Sent from my I phone
Similar Messages
-
[svn:osmf:] 13848: Pre-PARB'ing Layout API:
Revision: 13848
Revision: 13848
Author: [email protected]
Date: 2010-01-28 03:31:07 -0800 (Thu, 28 Jan 2010)
Log Message:
Pre-PARB'ing Layout API:
- Removal of ILayoutContext (merged with ILayoutTarget).
- Layout targets no longer get their width and height set directly. Instead, an 'updateMediaDisplay()' method is invoked, passing the target the width and height that it can use for displaying its media.
- 'intrinsicWidth' and height properties have been renamed 'mediaWidth' and height in order to map to the DisplayObjectTrait more closely.
- A context can no longer be assigned a layout renderer. Coupling of a renderer and a context now takes place exclusively by setting the renderer's context property. The renderer will emit a LayoutRendererChange event that the target can use to collect the reference for its read-only layoutRenderer property.
- Introducing ExternalProperty that isolates the boiler plate code for classes that hold getters to values that are externally controlled by means of a value change event.
- RegistrationPoint now defines String constants.
- DefaultLayoutRenderer now sets default width, height and scaling mode properties when targets get added to the renderer (unless some layout data has already been set).
Updating unit tests accordingly.
Modified Paths:
osmf/trunk/framework/OSMF/.actionScriptProperties
osmf/trunk/framework/OSMF/.flexLibProperties
osmf/trunk/framework/OSMF/org/osmf/composition/CompositeDisplayObjectTrait.as
osmf/trunk/framework/OSMF/org/osmf/containers/MediaContainer.as
osmf/trunk/framework/OSMF/org/osmf/display/MediaContainerGroup.as
osmf/trunk/framework/OSMF/org/osmf/display/MediaPlayerSprite.as
osmf/trunk/framework/OSMF/org/osmf/layout/DefaultLayoutRenderer.as
osmf/trunk/framework/OSMF/org/osmf/layout/ILayoutTarget.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutAttributesFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutRenderer.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutUtils.as
osmf/trunk/framework/OSMF/org/osmf/layout/RegistrationPoint.as
osmf/trunk/framework/OSMF/org/osmf/media/MediaElement.as
osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as
osmf/trunk/framework/OSMFTest/org/osmf/composition/TestParallelElementWithDisplayObjectTr ait.as
osmf/trunk/framework/OSMFTest/org/osmf/composition/TestSerialElementWithDisplayObjectTrai t.as
osmf/trunk/framework/OSMFTest/org/osmf/containers/TestMediaContainer.as
osmf/trunk/framework/OSMFTest/org/osmf/display/TestMediaContainerGroup.as
osmf/trunk/framework/OSMFTest/org/osmf/display/TestMediaPlayerSprite.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestDefaultLayoutRenderer.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutAttributesFacet.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestMediaElementLayoutTarget.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TesterLayoutTargetSprite.as
Added Paths:
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutRendererChangeEvent.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutTargetSprite.as
osmf/trunk/framework/OSMF/org/osmf/layout/MediaElementLayoutTarget.as
osmf/trunk/framework/OSMF/org/osmf/utils/ExternalProperty.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutRenderer.as
Removed Paths:
osmf/trunk/framework/OSMF/org/osmf/layout/ILayoutContext.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutContextSprite.as
osmf/trunk/framework/OSMF/org/osmf/layout/MediaElementLayoutTarget.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutContextSprite.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutRendererBase.asStop it
Sent from my I phone -
Revision: 14317
Revision: 14317
Author: [email protected]
Date: 2010-02-21 17:09:26 -0800 (Sun, 21 Feb 2010)
Log Message:
Pre-PARB metadata changes: Merge IIdentifier and ObjectIdentifier, rename to FacetKey. Make similar adjustments to TemporalFacet class. Move TemporalFacetEvent to events folder. Update unit tests and samples.
Modified Paths:
osmf/trunk/apps/samples/framework/CuePointSample/src/CuePointSample.mxml
osmf/trunk/apps/samples/plugins/AkamaiPluginSample/src/AkamaiPluginSample.mxml
osmf/trunk/apps/samples/plugins/CaptioningSample/src/CaptioningSample.mxml
osmf/trunk/apps/samples/plugins/ControlBarPlugin/src/ControlBarElement.as
osmf/trunk/apps/samples/plugins/ControlBarPluginSample/src/ControlBarPluginSample.as
osmf/trunk/apps/samples/plugins/MASTSample/src/MASTSample.as
osmf/trunk/framework/OSMF/.flexLibProperties
osmf/trunk/framework/OSMF/org/osmf/elements/CuePoint.as
osmf/trunk/framework/OSMF/org/osmf/elements/VideoElement.as
osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/ManifestParser.as
osmf/trunk/framework/OSMF/org/osmf/events/FacetValueChangeEvent.as
osmf/trunk/framework/OSMF/org/osmf/events/FacetValueEvent.as
osmf/trunk/framework/OSMF/org/osmf/layout/AbsoluteLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/AnchorLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/BoxAttributesFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutAttributesFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/PaddingLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/RelativeLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/metadata/Facet.as
osmf/trunk/framework/OSMF/org/osmf/metadata/KeyValueFacet.as
osmf/trunk/framework/OSMF/org/osmf/metadata/MetadataNamespaces.as
osmf/trunk/framework/OSMF/org/osmf/metadata/MetadataWatcher.as
osmf/trunk/framework/OSMF/org/osmf/metadata/ObjectFacet.as
osmf/trunk/framework/OSMF/org/osmf/metadata/TemporalFacet.as
osmf/trunk/framework/OSMF/org/osmf/net/dvr/DVRCastDVRTrait.as
osmf/trunk/framework/OSMF/org/osmf/net/dvr/DVRCastNetConnectionFactory.as
osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingUtils.as
osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as
osmf/trunk/framework/OSMFTest/org/osmf/elements/TestVideoElement.as
osmf/trunk/framework/OSMFTest/org/osmf/elements/f4mClasses/TestManifestParser.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestAbsoluteLayoutFacet.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestAnchorLayoutFacet.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutAttributesFacet.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestPaddingLayoutFacet.as
osmf/trunk/framework/OSMFTest/org/osmf/layout/TestRelativeLayoutFacet.as
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestKeyValueFacet.as
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMetadataWatcher.as
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestTemporalFacet.as
osmf/trunk/framework/OSMFTest/org/osmf/utils/TimerTimeTrait.as
osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/media/CaptioningProxyElement.as
osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/model/Caption.as
osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/media/Tes tCaptioningProxyElement.as
osmf/trunk/plugins/CaptioningPluginTest/src/CaptioningPluginTest.mxml
osmf/trunk/plugins/MASTPlugin/org/osmf/mast/media/MASTProxyElement.as
osmf/trunk/plugins/MASTPluginIntegrationTest/src/org/osmf/test/mast/managers/TestMASTCond itionManager.as
osmf/trunk/plugins/MASTPluginIntegrationTest/src/org/osmf/test/mast/media/TestMASTProxyEl ement.as
Added Paths:
osmf/trunk/framework/OSMF/org/osmf/events/TemporalFacetEvent.as
osmf/trunk/framework/OSMF/org/osmf/metadata/FacetKey.as
osmf/trunk/framework/OSMF/org/osmf/metadata/TemporalFacetKey.as
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestFacetKey.as
Removed Paths:
osmf/trunk/framework/OSMF/org/osmf/metadata/IIdentifier.as
osmf/trunk/framework/OSMF/org/osmf/metadata/ObjectIdentifier.as
osmf/trunk/framework/OSMF/org/osmf/metadata/TemporalFacetEvent.as
osmf/trunk/framework/OSMF/org/osmf/metadata/TemporalIdentifier.as
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestObjectIdentifier.asThese are automated emails from the OSMF forums. To unsubscribe, go here:
http://forums.adobe.com/community/opensource/osmf/commits
-- Brian -
Revision: 14318
Revision: 14318
Author: [email protected]
Date: 2010-02-21 20:57:34 -0800 (Sun, 21 Feb 2010)
Log Message:
Pre-PARB metadata changes: Merge Facet and KeyValueFacet. Default facet uses a Dictionary, clients can extend if they want a different underlying structure. Update TemporalFacet accordingly. Disable some of the TemporalFacet API that's only used for test apps, we need to vet this a bit further. Update unit tests and samples.
Modified Paths:
osmf/trunk/apps/samples/framework/CuePointSample/src/CuePointSample.mxml
osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/AllExamples.as
osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/posterframe/RTMPPosterF rameElement.as
osmf/trunk/apps/samples/plugins/AkamaiPluginSample/src/AkamaiPluginSample.mxml
osmf/trunk/apps/samples/plugins/CaptioningSample/src/CaptioningSample.mxml
osmf/trunk/apps/samples/plugins/ControlBarPlugin/src/ControlBarElement.as
osmf/trunk/apps/samples/plugins/ControlBarPlugin/src/ControlBarPlugin.as
osmf/trunk/apps/samples/plugins/ControlBarPluginSample/src/ControlBarPluginSample.as
osmf/trunk/apps/samples/plugins/MASTSample/src/MASTSample.as
osmf/trunk/framework/OSMF/.flexLibProperties
osmf/trunk/framework/OSMF/org/osmf/elements/VideoElement.as
osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/ManifestParser.as
osmf/trunk/framework/OSMF/org/osmf/layout/AbsoluteLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/AnchorLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/BoxAttributesFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutAttributesFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/PaddingLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/layout/RelativeLayoutFacet.as
osmf/trunk/framework/OSMF/org/osmf/metadata/Facet.as
osmf/trunk/framework/OSMF/org/osmf/metadata/TemporalFacet.as
osmf/trunk/framework/OSMF/org/osmf/net/NetStreamUtils.as
osmf/trunk/framework/OSMF/org/osmf/net/dvr/DVRCastDVRTrait.as
osmf/trunk/framework/OSMF/org/osmf/net/dvr/DVRCastNetConnectionFactory.as
osmf/trunk/framework/OSMF/org/osmf/net/dvr/DVRCastNetLoader.as
osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingUtils.as
osmf/trunk/framework/OSMF/org/osmf/plugin/PluginLoader.as
osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as
osmf/trunk/framework/OSMFTest/org/osmf/elements/TestLoadFromDocumentElement.as
osmf/trunk/framework/OSMFTest/org/osmf/elements/compositeClasses/TestCompositeMetadata.as
osmf/trunk/framework/OSMFTest/org/osmf/elements/f4mClasses/TestManifestParser.as
osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaPlayerWithDynamicStreamingVideoElem entSubclip.as
osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaPlayerWithVideoElementSubclip.as
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMetadata.as
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMetadataWatcher.as
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestTemporalFacet.as
osmf/trunk/framework/OSMFTest/org/osmf/net/TestNetStreamUtils.as
osmf/trunk/framework/OSMFTest/org/osmf/plugin/TestPluginManager.as
osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/media/CaptioningProxyElement.as
osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/media/Tes tCaptioningProxyElement.as
osmf/trunk/plugins/CaptioningPluginTest/src/CaptioningPluginTest.mxml
osmf/trunk/plugins/MASTPluginIntegrationTest/src/org/osmf/test/mast/managers/TestMASTCond itionManager.as
osmf/trunk/plugins/MASTPluginIntegrationTest/src/org/osmf/test/mast/media/TestMASTProxyEl ement.as
osmf/trunk/plugins/SMILPlugin/org/osmf/smil/SMILPluginInfo.as
osmf/trunk/plugins/SMILPlugin/org/osmf/smil/media/SMILMediaGenerator.as
Added Paths:
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestFacet.as
Removed Paths:
osmf/trunk/framework/OSMF/org/osmf/metadata/KeyValueFacet.as
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestKeyValueFacet.asThese are automated emails from the OSMF forums. To unsubscribe, go here:
http://forums.adobe.com/community/opensource/osmf/commits
-- Brian -
Revision: 14313
Revision: 14313
Author: [email protected]
Date: 2010-02-21 14:34:19 -0800 (Sun, 21 Feb 2010)
Log Message:
Pre-PARB metadata changes: Rename MetadataUtils to MediaTypeUtil. Make MediaTypeUtil non-public, as it's fairly trivial for clients to check for matches on their MIME type.
Modified Paths:
osmf/trunk/framework/OSMF/.flexLibProperties
osmf/trunk/framework/OSMF/org/osmf/elements/F4MLoader.as
osmf/trunk/framework/OSMF/org/osmf/elements/ImageLoader.as
osmf/trunk/framework/OSMF/org/osmf/elements/SWFLoader.as
osmf/trunk/framework/OSMF/org/osmf/elements/SoundLoader.as
osmf/trunk/framework/OSMF/org/osmf/metadata/MediaType.as
osmf/trunk/framework/OSMF/org/osmf/net/NetLoader.as
osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMediaType.as
osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/widgets/PinUpButton.as
osmf/trunk/libs/VAST/org/osmf/vast/media/DefaultVASTMediaFileResolver.as
osmf/trunk/plugins/SMILPlugin/org/osmf/smil/loader/SMILLoader.as
Added Paths:
osmf/trunk/framework/OSMF/org/osmf/metadata/MediaTypeUtil.as
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMediaTypeUtil.as
Removed Paths:
osmf/trunk/framework/OSMF/org/osmf/metadata/MetadataUtils.as
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestMetadataUtils.asThese are automated emails from the OSMF forums. To unsubscribe, go here:
http://forums.adobe.com/community/opensource/osmf/commits
-- Brian -
Revision: 14336
Revision: 14336
Author: [email protected]
Date: 2010-02-22 11:57:16 -0800 (Mon, 22 Feb 2010)
Log Message:
Pre-PARB metadata changes: Rename TemporalFacetEvent's positionReached property to timeReached.
Modified Paths:
osmf/trunk/apps/samples/framework/CuePointSample/src/CuePointSample.mxml
osmf/trunk/apps/samples/plugins/CaptioningSample/src/CaptioningSample.mxml
osmf/trunk/framework/OSMF/org/osmf/elements/VideoElement.as
osmf/trunk/framework/OSMF/org/osmf/events/TemporalFacetEvent.as
osmf/trunk/framework/OSMF/org/osmf/metadata/Facet.as
osmf/trunk/framework/OSMF/org/osmf/metadata/TemporalFacet.as
osmf/trunk/framework/OSMF/org/osmf/metadata/TemporalFacetKey.as
osmf/trunk/framework/OSMFTest/org/osmf/elements/TestVideoElement.as
osmf/trunk/framework/OSMFTest/org/osmf/metadata/TestTemporalFacet.as
osmf/trunk/plugins/CaptioningPluginTest/src/CaptioningPluginTest.mxmlThese are automated emails from the OSMF forums. To unsubscribe, go here:
http://forums.adobe.com/community/opensource/osmf/commits
-- Brian -
Revision: 14023
Revision: 14023
Author: [email protected]
Date: 2010-02-07 07:54:38 -0800 (Sun, 07 Feb 2010)
Log Message:
Updating OSMFPlayer to the changed layout APIs, adding a comment, and fixing MediaContainer from ignoring its constructor argument.
Modified Paths:
osmf/trunk/apps/samples/framework/OSMFPlayer/src/OSMFPlayer.as
osmf/trunk/framework/OSMF/org/osmf/containers/MediaContainer.as
osmf/trunk/framework/OSMF/org/osmf/layout/LayoutTargetSprite.as -
[svn:osmf:] 13002: Some fixes for the composite view trait.
Revision: 13002
Revision: 13002
Author: [email protected]
Date: 2009-12-16 13:04:30 -0800 (Wed, 16 Dec 2009)
Log Message:
Some fixes for the composite view trait. Integrated some of the unit tests (though some still break and are commented out).
Modified Paths:
osmf/trunk/framework/MediaFramework/org/osmf/composition/CompositeViewTrait.as
osmf/trunk/framework/MediaFramework/org/osmf/composition/ParallelViewTrait.as
osmf/trunk/framework/MediaFramework/org/osmf/composition/SerialViewTrait.as
osmf/trunk/framework/MediaFramework/org/osmf/layout/LayoutContextSprite.as
osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/MediaFrameworkTests.as
osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestParallelElement.as
osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestSerialElement.as
osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/DynamicMediaElement.as
Added Paths:
osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestParallelElementWithV iewTrait.as
osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestSerialElementWithVie wTrait.asIt's important to understand what traits are and what they're not:
Traits are not intended to be generically extensible: there's a fixed set within the framework (although we may add additional traits in the future, to support new Flash/FMS capabilities). We experimented with making them fully extensible, but it turned out to be not worth the cost, particularly since there shouldn't be that many traits in a media system.
Traits represent fundamental characteristics or capabilities of the media in its context. For example, some media is playable (videos), other media is not (images).
A trait cannot apply to all media types. If it could, then there would be no reason to model it as a trait, instead we would model it as part of the MediaElement. Metadata is a good example of this, in that any MediaElement might have some metadata associated with it, so it wouldn't make sense to make metadata a trait. Similarly, any MediaElement has the ability to go into fullscreen mode, so I wouldn't model the ability to go fullscreen as a trait.
On a semi-related note, I'm often asked (inside Adobe and elsewhere) for a technical overview of OSMF. I've posted the slides that I use for this purpose here:
https://sourceforge.net/adobe/osmf/wiki/_discuss/thread/d6c3d719/1962/attachment/OSMF%20Ar chitectural%20Building%20Blocks.pdf
The slides cover the fundamental building blocks of OSMF, things you are likely to use over and over if you're building complex media experiences. They might shed some light on which different parts of OSMF should be used in which situations. -
Revision: 17446
Revision: 17446
Author: [email protected]
Date: 2010-08-23 11:58:36 -0700 (Mon, 23 Aug 2010)
Log Message:
make loading of the configuration xml part of the process.
Modified Paths:
osmf/branches/weiz-neon-sprint3-prototype/apps/samples/framework/DrmOSMFPlayer/DrmOSMFPla yer.mxml
osmf/branches/weiz-neon-sprint3-prototype/framework/OSMF/.flexLibProperties
osmf/branches/weiz-neon-sprint3-prototype/framework/OSMF/org/osmf/configuration/Configura tionService.as
Added Paths:
osmf/branches/weiz-neon-sprint3-prototype/framework/OSMF/org/osmf/events/ConfigurationEve nt.asMy log4j.xml looks like
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="file" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="C:\\niablogs\\niab3.log"/>
<param name="MaxFileSize" value="1MB"/>
<param name="append" value="true"/>
<param name="MaxBackupIndex" value="5"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="(%-25.25F:%4L) %d{yyyy MM dd HH:mm:ss:SSS} [%-30.30t] %5p - %m %n" />
</layout>
</appender>
<logger name="in.co" additivity="false">
<level value="all" />
<appender-ref ref="file" />
</logger>
</log4j:configuration>It is working fine if I keep log4j.xml under WEB-INF/classes.If I keep my log4j.xml is outside of the application then it is not working.As per ApacheLog4j Specification we need to set the xml file path to the log4j.configuration system property.Even I tried putting like the following in my Listener class System.setProperty("log4j.configuration", "C:/kondal/log4j.xml");.
Any Ideas please?
Thanks
kondal -
Revision: 13942
Revision: 13942
Author: [email protected]
Date: 2010-02-02 13:02:47 -0800 (Tue, 02 Feb 2010)
Log Message:
1. Set the default value of _manualSwitchMode back to false
2. Remove the setter of client property and change relevant methods/properties.
Modified Paths:
osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPNetStream.asi have tried this but this is not working.
follwing code working for Null case not for False
vcr.setAttribute("Marked","is null"); this code display all rows who has null but when i checked any row and then unchecked so that row get value "false" also not display. -
Revision: 15256
Revision: 15256
Author: [email protected]
Date: 2010-04-07 09:51:55 -0700 (Wed, 07 Apr 2010)
Log Message:
Add metadata to the resource of elements created by LoadFromDocumentElement subclasses indicating the derived resource. This allow recipients of MediaFactoryEvent.MEDIA_ELEMENT_CREATE to be able to determine where a created element derives from. Updated F4M code and SMIL code, plus unit tests. Also added MediaType to resources generated by SMILMediaGenerator, in case they lack file extensions.
Modified Paths:
osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/ManifestParser.as
osmf/trunk/framework/OSMF/org/osmf/metadata/MetadataNamespaces.as
osmf/trunk/framework/OSMFTest/org/osmf/elements/f4mClasses/TestManifestParser.as
osmf/trunk/plugins/SMILPlugin/org/osmf/smil/loader/SMILLoader.as
osmf/trunk/plugins/SMILPlugin/org/osmf/smil/media/SMILMediaGenerator.as
osmf/trunk/plugins/SMILPluginIntegrationTest/src/org/osmf/test/smil/loader/TestSMILLoader .asYes, it seems to be a kernel bug. Previously, my wife used Windows for years and nothing like this happened. Now, she tells a lot about Linux systems :-)
An example of this very-ugly-workaround for somebody who'll find this topic struggling with the same problem:
$ cat /etc/pm/sleep.d/99_fix_time_shift
#!/bin/bash
# fixing https://bbs.archlinux.org/viewtopic.php?id=173487
case "$1" in
suspend)
date +%s > /tmp/suspend.log
resume)
was=`cat /tmp/suspend.log`
now=`date +%s`
# time shifts for 68 hours
if [ $now -gt `expr $was + 244800` ]; then
date -s "`date -R --date="-68 hours ago"`"
## sleep 30; ntpdate ntp.ubuntu.com
fi
esac
Last edited by shurup (2014-03-26 16:25:55) -
Revision: 12518
Revision: 12518
Author: [email protected]
Date: 2009-12-04 02:28:08 -0800 (Fri, 04 Dec 2009)
Log Message:
Unit tests: moving the utility functions assertThrows, and assertDispatches into a TestCaseEx class.
Modified Paths:
osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestCompositeMetadata.as
osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/metadata/TestFacetGroup.as
Added Paths:
osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/flexunit/
osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/flexunit/TestCaseEx.as -
[svn:osmf:] 14535: Unit tests for the syndication library.
Revision: 14535
Revision: 14535
Author: [email protected]
Date: 2010-03-02 15:42:45 -0800 (Tue, 02 Mar 2010)
Log Message:
Unit tests for the syndication library.
Added Paths:
osmf/trunk/libs/SyndicationTest/
osmf/trunk/libs/SyndicationTest/.actionScriptProperties
osmf/trunk/libs/SyndicationTest/.flexProperties
osmf/trunk/libs/SyndicationTest/.project
osmf/trunk/libs/SyndicationTest/SyndicationTest.mxml
osmf/trunk/libs/SyndicationTest/html-template/
osmf/trunk/libs/SyndicationTest/html-template/AC_OETags.js
osmf/trunk/libs/SyndicationTest/html-template/history/
osmf/trunk/libs/SyndicationTest/html-template/history/history.css
osmf/trunk/libs/SyndicationTest/html-template/history/history.js
osmf/trunk/libs/SyndicationTest/html-template/history/historyFrame.html
osmf/trunk/libs/SyndicationTest/html-template/index.template.html
osmf/trunk/libs/SyndicationTest/html-template/playerProductInstall.swf
osmf/trunk/libs/SyndicationTest/libs/
osmf/trunk/libs/SyndicationTest/libs/FlexUnit.swc
osmf/trunk/libs/SyndicationTest/libs/FlexUnitOptional.swc
osmf/trunk/libs/SyndicationTest/org/
osmf/trunk/libs/SyndicationTest/org/osmf/
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/SyndicationTestConstants.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/SyndicationTests.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/loader/
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/loader/TestFeedLoader.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/media/
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/media/TestSyndicationMediaGenerator. as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/TestAtomParser.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/TestFeedParser.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/TestRSS20Parser.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/extensions/
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/extensions/TestITunesExtensi onParser.as
osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/extensions/TestMediaRSSExten sionParser.asHi ventura8,
>> I have added a Unit Test Library (windows) project to the solution and the tests are discovered in the test explorer and the unit tests work just fine. But i can't test the dll for Windows Phone.
>> The test are discovered in test explorer but I cannot test async methods.
>> How do I run a unit test for WP for a universal portable lib
What the async methods are. Are they the class methods in the dll?
If so, the link below shows the details of creating testing apps for windows phone.
Reference:
https://msdn.microsoft.com/en-us/library/windows/apps/dn168930(v=vs.105).aspx
>> And if i try the Unit Test App (windows Phone), it does not get discovered by test explorer. I am using VS2013 U4.
I am wondering how you created you unit test project. After you create the unit test, if you build the solution, could you get the test method in test explorer window?
Best Regards,
Edward
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. -
Revision: 17504
Revision: 17504
Author: [email protected]
Date: 2010-08-27 14:52:53 -0700 (Fri, 27 Aug 2010)
Log Message:
Some improvements to the stream reconnect logic.
Modified Paths:
osmf/trunk/framework/OSMF/org/osmf/net/NetConnectionFactory.as
osmf/trunk/framework/OSMF/org/osmf/net/NetLoader.as"Is it intended to cope with NetConnection.Connect.IdleTimeOut of FMS disconnecting clients after some time of inactivity?"
The answer is no. Stream reconnect is all about trying to reconnect in the event of a dropped network connection. For the IdleTimeOut scenario, listen for the MediaErrorEvent.MEDIA_ERROR event on the MediaPlayer and check for an error of MediaErrorCodes.NETCONNECTION_TIMEOUT. You can handle that however you wish in your player.
- charles -
Revision: 10364
Author: [email protected]
Date: 2009-09-17 14:49:03 -0700 (Thu, 17 Sep 2009)
Log Message:
Latest updates to the Dynamic Streaming sample app , and a few bug fixes.
Modified Paths:
osmf/trunk/apps/samples/framework/DynamicStreamingSample/.project
osmf/trunk/apps/samples/framework/DynamicStreamingSample/src/DynamicStreamingSample.mxml
osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/ParallelSwitchableTra it.as
Property Changed:
osmf/trunk/libs/adobe/NetMocker/
osmf/trunk/libs/adobe/StrobeUnit/Thanks
Now we can call and game at the same time
Life is a train. You can choose your path choice, but you can not choose when the track will end...
Where will the track take you?
If my post has answered your question. Please mark it as an answer.
Maybe you are looking for
-
Video Issues with HTML5 Output
Hello there, I have a project with several videos on seperate slides that are located inbetween normal content slides. Works fine with SWF output and HTML5 output viewed on the pc, but... when I test the course on an iPad the video plays quite fine t
-
Greetings!!! I have maintained authorization group F_BKPF_BUP to restrict posting in previous period.. It works fine for all tcodes except CO11 Any solution plz Regards
-
I have an iPod Video and I am running it on my user account on my PC. I have about $250 worth of songs on my library. On another user account (same computer, etc.) I downloaded about $25 worth of my favorite songs. I sorted them into a playlist. I wa
-
What Adobe Captivate need's in it's the next update
I trying to publish my video to youyube.com. But when i try publish it in captivate it can only publish it in 100 .swf files. I tried converting the 100 .swf files into different video formats, with multiple software, but thay can't convert it. I try
-
Auto sync of Date & Time does not work on startup
Is there a reason why out of two entire labs of like 60 mac's that when restarted, a number of them will not look to sync up the date & time. I have every computer to do so, but for some odd reason, on a shutdown/restart, random computers will not sy