[svn:osmf:] 14261: Updated DRM unit tests to work with code review feedback .

Revision: 14261
Revision: 14261
Author:   [email protected]
Date:     2010-02-18 14:15:23 -0800 (Thu, 18 Feb 2010)
Log Message:
Updated DRM unit tests to work with code review feedback.
Modified Paths:
    osmf/trunk/framework/OSMFTest/org/osmf/elements/TestParallelElementWithDRMTrait.as
    osmf/trunk/framework/OSMFTest/org/osmf/elements/TestSerialElementWithDRMTrait.as
    osmf/trunk/framework/OSMFTest/org/osmf/traits/TestDRMTrait.as
    osmf/trunk/framework/OSMFTest/org/osmf/utils/DynamicDRMTrait.as

Hello Alex,
I don't have an answer for you.
But, can you try to use http://drmtest2.adobe.com:8080/Content/anonymous.f4v with locally hosted OSMF player? This content doens't require user/pass info.
I'm wondering that Google TV's flash player doesn't support prompt dialog.
http://drmtest2.adobe.com/AccessPlayer/player.html requires flash player 11. That's why it won't be loaded with flash player 10.x.
Thanks,
-- Hiroshi

Similar Messages

  • [svn:osmf:] 11282: updated the unit tests for the DRM subsystem.

    Revision: 11282
    Author:   [email protected]
    Date:     2009-10-29 16:44:46 -0700 (Thu, 29 Oct 2009)
    Log Message:
    updated the unit tests for the DRM subsystem.  Still lacking tests for Authentication Token.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/.actionScriptProperties
        osmf/trunk/framework/MediaFramework/org/osmf/drm/DRMServices.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/NetStreamContentProtectableTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/video/VideoElement.as
        osmf/trunk/framework/MediaFrameworkAirTest/.actionScriptProperties
        osmf/trunk/framework/MediaFrameworkFlexTest/.actionScriptProperties
        osmf/trunk/framework/MediaFrameworkFlexTest/.flexProperties
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/traits/TestIContentProtectable.as
        osmf/trunk/framework/MediaFrameworkIntegrationTest/.actionScriptProperties
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/MediaFrameworkIntegrationTest s.as
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/net/TestNetContentProtectable .as
    Added Paths:
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/video/
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/video/TestVideoElement.as
    Property Changed:
        osmf/trunk/framework/MediaFrameworkFlexTest/
        osmf/trunk/framework/MediaFrameworkIntegrationTest/

    Hello Alex,
    I don't have an answer for you.
    But, can you try to use http://drmtest2.adobe.com:8080/Content/anonymous.f4v with locally hosted OSMF player? This content doens't require user/pass info.
    I'm wondering that Google TV's flash player doesn't support prompt dialog.
    http://drmtest2.adobe.com/AccessPlayer/player.html requires flash player 11. That's why it won't be loaded with flash player 10.x.
    Thanks,
    -- Hiroshi

  • [svn:osmf:] 13003: Update some unit tests to reflect that LayoutContextSprite now returns 0 ( not NaN) for uninitialized values to be consistent with ViewTrait.

    Revision: 13003
    Revision: 13003
    Author:   [email protected]
    Date:     2009-12-16 13:12:08 -0800 (Wed, 16 Dec 2009)
    Log Message:
    Update some unit tests to reflect that LayoutContextSprite now returns 0 (not NaN) for uninitialized values to be consistent with ViewTrait.
    Modified Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/layout/TestLayoutContextSprite.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/proxies/TestListenerProxyElementAsSu bclass.as

    Revision: 13003
    Revision: 13003
    Author:   [email protected]
    Date:     2009-12-16 13:12:08 -0800 (Wed, 16 Dec 2009)
    Log Message:
    Update some unit tests to reflect that LayoutContextSprite now returns 0 (not NaN) for uninitialized values to be consistent with ViewTrait.
    Modified Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/layout/TestLayoutContextSprite.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/proxies/TestListenerProxyElementAsSu bclass.as

  • [svn:osmf:] 10352: Updated Switchable unit tests.

    Revision: 10352
    Author:   [email protected]
    Date:     2009-09-17 13:06:03 -0700 (Thu, 17 Sep 2009)
    Log Message:
    Updated Switchable unit tests.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/ParallelSwitchableTra it.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/net/dynamicstreaming/DynamicNetSt ream.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/net/dynamicstreaming/NetStreamSwi tchableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/composition/TestSerialSwi tchableTrait.as
    Property Changed:
        osmf/trunk/framework/MediaFramework/
        osmf/trunk/framework/MediaFrameworkAirTest/
        osmf/trunk/framework/MediaFrameworkIntegrationTest/

  • [svn:osmf:] 15299: Fixing build: unit tests expect the seek to complete over a timer.

    Revision: 15299
    Revision: 15299
    Author:   [email protected]
    Date:     2010-04-09 03:04:45 -0700 (Fri, 09 Apr 2010)
    Log Message:
    Fixing build: unit tests expect the seek to complete over a timer. Adding this behavior on signaling the seek completion event from the newly added path.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamSeekTrait.as

    In general theory, one now has the Edit button for their posts, until someone/anyone Replies to it. I've had Edit available for weeks, as opposed to the old forum's ~ 30 mins.
    That, however, is in theory. I've posted, and immediately seen something that needed editing, only to find NO Replies, yet the Edit button is no longer available, only seconds later. Still, in that same thread, I'd have the Edit button from older posts, to which there had also been no Replies even after several days/weeks. Found one that had to be over a month old, and Edit was still there.
    Do not know the why/how of this behavior. At first, I thought that maybe there WAS a Reply, that "ate" my Edit button, but had not Refreshed on my screen. Refresh still showed no Replies, just no Edit either. In those cases, I just Reply and mention the [Edit].
    Also, it seems that the buttons get very scrambled at times, and Refresh does not always clear that up. I end up clicking where I "think" the right button should be and hope for the best. Seems that when the buttons do bunch up they can appear at random around the page, often three atop one another, and maybe one way the heck out in left-field.
    While I'm on a role, it would be nice to be able to switch between Flattened and Threaded Views on the fly. Each has a use, and having to go to Options and then come back down to the thread is a very slow process. Jive is probably incapable of this, but I can dream.
    Hunt

  • [svn:osmf:] 11341: Added some unit tests to get the metadata package above 80%

    Revision: 11341
    Author:   [email protected]
    Date:     2009-10-30 16:24:35 -0700 (Fri, 30 Oct 2009)
    Log Message:
    Added some unit tests to get the metadata package above 80%
    Modified Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/metadata/TestTemporalFacet.as

    The nature of the Media class is that it accesses it asynchronously. This means that when you create an instance of it, and then immediately query it, the data you want may not be available yet. This is all in the Javadoc, see the doc for Media:
    The media information is obtained asynchronously and so not necessarily available immediately after instantiation of the class. All information should however be available if the instance has been associated with a MediaPlayer and that player has transitioned to MediaPlayer.Status.READY statusSo you could associate the Media with a MediaPlayer, and then wait until it goes to the Status READY, and then read the length of the Media.
    As for your 2nd question, getMetadata() returns a Map. You can just loop through it:
      for(Map.Entry<String, Object> entry : media.getMetadata()) {
        // etc
      }However, the same restrictions apply as with Media -- you will probably need to wait before the information is available -- that's why the Listener approach works, because it will notify you as soon as the information is added to the map.

  • [svn:osmf:] 10987: Refactor MediaPlayer unit tests to make them injectable by MediaElement.

    Revision: 10987
    Author:   [email protected]
    Date:     2009-10-13 20:54:31 -0700 (Tue, 13 Oct 2009)
    Log Message:
    Refactor MediaPlayer unit tests to make them injectable by MediaElement.  Add additional unit tests for injecting various MediaElements into a MediaPlayer.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/audio/SoundAdapter.as
        osmf/trunk/framework/MediaFramework/org/osmf/media/MediaPlayer.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/dynamicstreaming/NetStreamSwitchableTrai t.as
        osmf/trunk/framework/MediaFramework/org/osmf/proxies/TemporalProxyElement.as
        osmf/trunk/framework/MediaFramework/org/osmf/traits/SwitchableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/MediaFrameworkTests.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/audio/TestAudioElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/proxies/TestTemporalProxyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/NetFactory.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/TestConstants.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockDynamicNetStream.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockNetStream.as
    Added Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithAudioElemen t.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithAudioElemen tWithSoundLoader.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithBeaconEleme nt.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithDynamicStre amingVideoElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithProxyElemen t.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithTemporalPro xyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithVideoElemen t.as

    Revision: 10987
    Author:   [email protected]
    Date:     2009-10-13 20:54:31 -0700 (Tue, 13 Oct 2009)
    Log Message:
    Refactor MediaPlayer unit tests to make them injectable by MediaElement.  Add additional unit tests for injecting various MediaElements into a MediaPlayer.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/audio/SoundAdapter.as
        osmf/trunk/framework/MediaFramework/org/osmf/media/MediaPlayer.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/dynamicstreaming/NetStreamSwitchableTrai t.as
        osmf/trunk/framework/MediaFramework/org/osmf/proxies/TemporalProxyElement.as
        osmf/trunk/framework/MediaFramework/org/osmf/traits/SwitchableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/MediaFrameworkTests.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/audio/TestAudioElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/proxies/TestTemporalProxyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/NetFactory.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/TestConstants.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockDynamicNetStream.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockNetStream.as
    Added Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithAudioElemen t.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithAudioElemen tWithSoundLoader.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithBeaconEleme nt.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithDynamicStre amingVideoElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithProxyElemen t.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithTemporalPro xyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithVideoElemen t.as

  • [svn:osmf:] 15010: Add f4f unit tests, more to come.

    Revision: 15010
    Revision: 15010
    Author:   [email protected]
    Date:     2010-03-24 17:05:36 -0700 (Wed, 24 Mar 2010)
    Log Message:
    Add f4f unit tests, more to come.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/AdobeSegmentRunTable.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/HTTPStreamingTestsHelper.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/f4f/TestAdobeBootstrapBox.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/f4f/TestAdobeSegmentRunTable.as
    Added Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/f4f/TestAdobeSegmentRunTableInte gration.as

    Abuse reported.

  • [svn:osmf:] 10703: Extending regions unit tests some more.

    Revision: 10703
    Author:   [email protected]
    Date:     2009-09-29 16:35:07 -0700 (Tue, 29 Sep 2009)
    Log Message:
    Extending regions unit tests some more.
    Modified Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/gateways/TestRegionSprite .as

  • [svn:osmf:] 10137: Dynamic streaming unit tests now pass.

    Revision: 10137
    Author:   [email protected]
    Date:     2009-09-10 16:01:37 -0700 (Thu, 10 Sep 2009)
    Log Message:
    Dynamic streaming unit tests now pass.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/net/dynamicstreaming/NetStreamSwi tchableTrait.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/traits/SwitchableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/MediaFrameworkTests.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/traits/TestISwitchable.as

    Hello!
    1) Given the string plugin is loaded from (file:///C:/alex/PlayerCDN/lib/PlugIN_junio.swf) application loads it from file system that "involves complex security" (our app can't load local files - we don't need it but nevertheless).
    You may want to try directing your Flex builder run configuration to use http://localhost/yourappwrapper.html as a "URL or path to launch" parameter.
    Try to set full path to plugin also (including host).
    2) As I can see, you don't have
    Security.allowDomain('*');
    in your plugin constructor.
    Although it is being loaded from the same host - do try to insert it
    Here is our plugins main file - everything works fine:
    package {
    import flash.display.Sprite;
    import flash.system.Security;
    import org.osmf.media.PluginInfo;
    import plugin.ControlBarPlugin;
    public class CBPlugin extends Sprite
      private var _pluginInfo:PluginInfo;
      public function CBPlugin()
       Security.allowDomain('*');
       _pluginInfo = (new ControlBarPlugin).pluginInfo;
      public function get pluginInfo():PluginInfo{
       return _pluginInfo;

  • [svn:osmf:] 10581: Integration VAST unit tests into mediaframework unit tests

    Revision: 10581
    Author:   [email protected]
    Date:     2009-09-24 17:09:59 -0700 (Thu, 24 Sep 2009)
    Log Message:
    Integration VAST unit tests into mediaframework unit tests
    Modified Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/.actionScriptProperties
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/MediaFrameworkTests.as
    Added Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/vast/
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/vast/VASTTestConstants.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/vast/loader/
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/vast/loader/TestVASTLoade r.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/vast/media/
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/vast/media/TestDefaultVAS TMediaFileResolver.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/vast/media/TestVASTImpres sionProxyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/vast/media/TestVASTMediaG enerator.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/vast/media/TestVASTTracki ngProxyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/vast/parser/
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/vast/parser/TestVASTParse r.as

  • [svn:osmf:] 12421: Extending CompositeMetadata unit tests.

    Revision: 12421
    Revision: 12421
    Author:   [email protected]
    Date:     2009-12-03 01:28:37 -0800 (Thu, 03 Dec 2009)
    Log Message:
    Extending CompositeMetadata unit tests. Adding null checks to CompositeMetadata.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/metadata/CompositeMetadata.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/metadata/TestCompositeMetadata.as

  • [svn:osmf:] 14678: Removal events unit tests.

    Revision: 14678
    Revision: 14678
    Author:   [email protected]
    Date:     2010-03-10 11:34:37 -0800 (Wed, 10 Mar 2010)
    Log Message:
    Removal events unit tests.  Fixed issue w/ autoSwitch.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/media/MediaPlayer.as
        osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaPlayer.as

  • [svn:osmf:] 15519: Extend MediaPlayer unit tests.

    Revision: 15519
    Revision: 15519
    Author:   [email protected]
    Date:     2010-04-16 14:16:37 -0700 (Fri, 16 Apr 2010)
    Log Message:
    Extend MediaPlayer unit tests.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/media/MediaPlayer.as
        osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaPlayer.as

  • [svn:osmf:] 14510: DVR: Extending unit tests.

    Revision: 14510
    Revision: 14510
    Author:   [email protected]
    Date:     2010-03-02 08:20:57 -0800 (Tue, 02 Mar 2010)
    Log Message:
    DVR: Extending unit tests.
    Modified Paths:
        osmf/trunk/framework/OSMF/.actionScriptProperties
        osmf/trunk/framework/OSMFTest/org/osmf/net/dvr/TestDVRCastDVRTrait.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/dvr/TestDVRCastStreamInfoRetriever.as

Maybe you are looking for

  • OIM 9.1.0 Integration with Active Directory 2008 R2

    Hi, My customer is running Root/Child AD structure based on windows 2003 w/SP2, OIM 9.1.0 deployed under one of the child domains, and integrated with child domains controllers which runs windows server 2003 as well. My customer has decided to upgrad

  • Plant wise balance sheet

    Hi, I want to the configuration steps required for business area wise balance sheet,and what are the advantages & disadvantages if we opt this. regards, Santosh kumar

  • How to See and Change the Source Code of Spawned Concurrent Program.

    Hello Team, There is one requirement in which we have to add some condition in the Concurrent Program.But the Type of that concurrent Program is ,"Spawned ". Please suggest me , how can i check the Source code for this type of Concurrent Program and

  • Path for data loader

    Hi When I try to launch the dataload play user in DEV instance i am given error about wrong dbc file being used i check it its shows a wrong path for my dbc file any idea where to change this path OS id RHEl 5 DB 11.2.0.1 EBS 12.1.2

  • How to fix:  facetime waiting for activation

    Iphone 4 on ATT network. My facetime used to work OK before. Recently I noticed that the facetime icon disappeared when in a call, and from the contacts. I found out that in the Settings facetime was off. However, whenever I try to toggle to ON, it s