[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.as

It'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.

Similar Messages

  • [svn:osmf:] 14007: Partial fix for FM-383: ProxyElement needs to dispatch traitRemove/ traitAdd event pairs when the proxy adds or removes a trait that also exists on the proxied element .

    Revision: 14007
    Revision: 14007
    Author:   [email protected]
    Date:     2010-02-05 11:54:43 -0800 (Fri, 05 Feb 2010)
    Log Message:
    Partial fix for FM-383:  ProxyElement needs to dispatch traitRemove/traitAdd event pairs when the proxy adds or removes a trait that also exists on the proxied element.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-383
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/media/MediaElement.as
        osmf/trunk/framework/OSMF/org/osmf/proxies/ProxyElement.as
        osmf/trunk/framework/OSMFTest/org/osmf/proxies/TestProxyElementAsDynamicProxy.as

  • [svn:osmf:] 17504: Some improvements to the stream reconnect logic.

    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

  • [svn:osmf:] 14625: Reworked fix for FM-506.

    Revision: 14625
    Revision: 14625
    Author:   [email protected]
    Date:     2010-03-08 10:37:29 -0800 (Mon, 08 Mar 2010)
    Log Message:
    Reworked fix for FM-506.  Current time == duration once the video stops, and seek(0) goes to 0.   Handles incorrect duration metadata, as well as audio delay offsets.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-506
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamTimeTrait.as

  • [svn:osmf:] 17499: Partial fix for FM-990: prevent RTE when attempting smoothing for an image where a policy file was not available

    Revision: 17499
    Revision: 17499
    Author:   [email protected]
    Date:     2010-08-27 11:05:22 -0700 (Fri, 27 Aug 2010)
    Log Message:
    Partial fix for FM-990: prevent RTE when attempting smoothing for an image where a policy file was not available
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-990
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/ImageElement.as

    Revision: 17499
    Revision: 17499
    Author:   [email protected]
    Date:     2010-08-27 11:05:22 -0700 (Fri, 27 Aug 2010)
    Log Message:
    Partial fix for FM-990: prevent RTE when attempting smoothing for an image where a policy file was not available
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-990
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/ImageElement.as

  • [svn:osmf:] 15899: Attempted fix for unit tests failure.

    Revision: 15899
    Revision: 15899
    Author:   [email protected]
    Date:     2010-05-04 17:21:06 -0700 (Tue, 04 May 2010)
    Log Message:
    Attempted fix for unit tests failure.
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.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.as

    Hi 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.

  • [svn:osmf:] 12761: Unit test for the captioning plugin.

    Revision: 12761
    Revision: 12761
    Author:   [email protected]
    Date:     2009-12-09 16:46:21 -0800 (Wed, 09 Dec 2009)
    Log Message:
    Unit test for the captioning plugin.
    Modified Paths:
        osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/media/CaptioningProxyElement.as
        osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/parsers/DFXPParser.as
    Added Paths:
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/.actionScriptProperties
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/.flexProperties
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/.project
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/AC_OETags.js
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/history/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/history/history.css
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/history/history.js
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/history/historyFrame.htm l
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/index.template.html
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/playerProductInstall.swf
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/libs/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/libs/FlexUnit.swc
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/CaptioningPluginIntegrationTest.mx ml
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/CaptioningPluginIntegrati onTests.as
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/Captionin gTestConstants.as
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/TestCapti oningPluginInfo.as
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/loader/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/loader/Te stCaptioningLoader.as
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/media/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/media/Tes tCaptioningProxyElement.as
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/parsers/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/parsers/T estDFXPParser.as

  • [svn:osmf:] 16270: Recommitted fix for FM-857: VAST and MAST impressions and tracking events are broken.

    Revision: 16270
    Revision: 16270
    Author:   [email protected]
    Date:     2010-05-20 19:19:57 -0700 (Thu, 20 May 2010)
    Log Message:
    Recommitted fix for FM-857: VAST and MAST impressions and tracking events are broken.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-857
    Modified Paths:
        osmf/trunk/libs/samples/VAST/org/osmf/vast/media/VASTImpressionProxyElement.as
        osmf/trunk/libs/samples/VAST/org/osmf/vast/media/VASTTrackingProxyElement.as
        osmf/trunk/libs/samples/VASTTest/org/osmf/vast/media/TestVASTImpressionProxyElement.as
        osmf/trunk/libs/samples/VASTTest/org/osmf/vast/media/TestVASTTrackingProxyElement.as

  • [svn:osmf:] 10683: Bug fix for SWFElement drawing outside of its bounds causing layout havok.

    Revision: 10683
    Author:   [email protected]
    Date:     2009-09-29 09:29:55 -0700 (Tue, 29 Sep 2009)
    Log Message:
    Bug fix for SWFElement drawing outside of its bounds causing layout havok.   FM-87 and FM-77
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-87
        http://bugs.adobe.com/jira/browse/FM-77
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/content/ContentElement.as

    FYI - This regression has been filed here: http://bugs.adobe.com/jira/browse/SDK-31989

  • Is HP/Palm working on a fix for the PDF viewing problems

    For several months, I've been having issues viewing PDFs on my Pre, and though I find lots of information confirming same, I can't find any evidence that HP/Palm is doing anything about it.  Getting tired of sending myself links so I can view PDFs on a computer....what about it HP/Palm?
    While I'm not happy I fell for all the hype about Flash support, I'm probably more upset I can't even view many PDFs using this device.
    Post relates to: Pre p100eww (Sprint)

    hi, there are a couple of treads on the problem from Spring 2010:
    http://forums.palm.com/t5/webOS-Software/PDF-viewer-bug-v1-4-5/m-p/308929
    http://forums.palm.com/t5/webOS-Software/Post-1-4-5-Pre-Freezing/m-p/319306#M20781
    http://forums.palm.com/t5/webOS-Software/Pre-PDF-problems/td-p/302069
    zoom in and let the device wait for the Pre to autopower off. The bug happens with PDF and all office apps.

  • [svn:osmf:] 12641: Improvements to the DFXP parser, captioning sample, and a bug fix for the TemporalFacet ( duration timers were not taking account of the media being paused).

    Revision: 12641
    Revision: 12641
    Author:   [email protected]
    Date:     2009-12-07 21:10:00 -0800 (Mon, 07 Dec 2009)
    Log Message:
    Improvements to the DFXP parser, captioning sample, and a bug fix for the TemporalFacet (duration timers were not taking account of the media being paused).
    Modified Paths:
        osmf/trunk/apps/samples/plugins/CaptioningSample/src/CaptioningSample.css
        osmf/trunk/framework/MediaFramework/org/osmf/metadata/TemporalFacet.as
        osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/parsers/DFXPParser.as

  • [svn:osmf:] 15581: Better coding style and some comments for the previous code submission.

    Revision: 15581
    Revision: 15581
    Author:   [email protected]
    Date:     2010-04-19 17:14:00 -0700 (Mon, 19 Apr 2010)
    Log Message:
    Better coding style and some comments for the previous code submission.
    Modified Paths:
        osmf/trunk/apps/samples/framework/OSMFPlayer/src/OSMFPlayer.as

    Revision: 15581
    Revision: 15581
    Author:   [email protected]
    Date:     2010-04-19 17:14:00 -0700 (Mon, 19 Apr 2010)
    Log Message:
    Better coding style and some comments for the previous code submission.
    Modified Paths:
        osmf/trunk/apps/samples/framework/OSMFPlayer/src/OSMFPlayer.as

  • [svn] 4223: Some fixes for bugs found running the TC acceptance tests:

    Revision: 4223
    Author: [email protected]
    Date: 2008-12-03 11:35:03 -0800 (Wed, 03 Dec 2008)
    Log Message:
    Some fixes for bugs found running the TC acceptance tests:
    - Empty try {} throwing NPE while emitting code.
    - OP_Callproperty and OP_Callproplex may have a known type but default value.
    - Better diagnostic message for CONSTANT_TypeName and preliminary plumbing for CONSTANT_TypeName support.
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/adobe/abc/GlobalOptimizer.java

    Re: SB Audigy Series Support Pack 2.5 (08/09/2009)? Important Installation Notes
    If any drivers are already installed, you must follow these steps to ensure a proper installation of the new Support Pack.
    ) Open a Command Prompt window with Admin privileges (right click and select Run as Administrator).
    Type the following commands:
    takeown /f C:\Windows\*.cdf
    cacls C:\Windows\*.cdf /G [color="#ff0000"]Administrators:F
    Where [color="#ff0000"]Administrators may?be different if you are running a localized version of Windows or?you can simply use your login name.
    2) Unpack the previous Support Pack or Creative official release.
    3) Run \Drivers\Setup.exe and choose Driver Uninstallation, select Delete all shared Creative audio driver files. and click OK. Reboot when asked to do so.
    4) Make sure the following files were deleted, otherwise delete them manually:
    - For Windows 7 / Vista 32-bit open?C:\Windows\System32 and delete UDAAPO32.DLL and?UDAPLD32.DLL.
    - For Windows 7 / Vista 64-bit?open?[color="#ff0000"]C:\Windows\System32 and delete[color="#ff0000"] UDAAPO64.DLL and?[color="#ff0000"]UDAPLD64.DLL then? open?C:\Windows\SysWOW64 and delete UDAAPO32.DLL.

  • [svn:fx-trunk] 5170: Round 2 of bug fixes for the Spark skins for Halo components.

    Revision: 5170
    Author: [email protected]
    Date: 2009-03-04 17:50:32 -0800 (Wed, 04 Mar 2009)
    Log Message:
    Round 2 of bug fixes for the Spark skins for Halo components. Thanks to Alex for help with the data grid issues.
    Bugs fixed:
    SDK-19655 - Setting rowCount property on DataGrid causes extra blank row to be displayed
    SDK-19652 - Items in a DataGrid do not line up after scrolling.
    SDK-19605 - disabled Halo ColorPicker with Gumbo skin draws too dark
    SDK-19596 - When you have a single button on an Alert, the left edge looks flatter than the right
    SDK-19585 - Menus compiled with the halo theme in Flex 4 have a different backgroundColor than in Flex 3
    SDK-19665 - Halo List with Gumbo skin doesnt draw the alternating item color all the way to the right edge of the control if VScrollBar is present
    SDK-19651 - odd header rendering issue on Halo DataGrid with Gumbo skin
    QA Notes: The alert layout code was positioning the buttons/text on sub-pixel boundaries if the width or height of the alert was an odd number of pixels. We always snap to pixel boundaries now, but this may cause bitmap compare issues with Alert.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19655
    http://bugs.adobe.com/jira/browse/SDK-19652
    http://bugs.adobe.com/jira/browse/SDK-19605
    http://bugs.adobe.com/jira/browse/SDK-19596
    http://bugs.adobe.com/jira/browse/SDK-19585
    http://bugs.adobe.com/jira/browse/SDK-19665
    http://bugs.adobe.com/jira/browse/SDK-19651
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as
    flex/sdk/trunk/frameworks/projects/halo/defaults.css
    flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ColorPickerSkin.mxml

Maybe you are looking for

  • Sum Total in Query Print Layout

    Hi, all I have a report which is created by a query, How can I insert a variable to show the Total Sum in footer. Thanks kimmy

  • Unable to add new WLC to the Mobility Group

    Hi, Any help will be very welcome. I recently add a second CT5508 to the network, but when I tried to add the first 5508 to the mobilty group I received a message like this: "error in creating member" I've tried different mobility names, via GUI, via

  • Command Exception while updating in MDM

    Hi, Can someone tell me while performing update using Modify Record Command am getting the below error : com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Server error (0xffaa6000) What should i do for this?

  • I receive error A125E5 when trying to download applications

    I get an error every time I try and run the Adobe Application Manager. Its says its updating the manager then this error is displayed: We've encountered the following issues: Sorry, the program is not responding correctly (Error code: A125E5). For tr

  • Simulation and design

    Plz, can any one tell me If there is any program that I can desgin a network with Routers and switches, and make simulation on it to test and see the result and thanks