1 Reply Latest reply on Jun 2, 2010 10:59 AM by bringrags

    How can I reinstate/bring back the play trait after blocking it?

    fallenCEO

      I'm using version 1.0 of OSMF.

       

      I  block a bunch of traits while pre-loading another video:

       

      traitsToBlock=new Vector.<String>();

      traitsToBlock.push(MediaTraitType.LOAD);

      traitsToBlock.push(MediaTraitType.PLAY);

      traitsToBlock.push(MediaTraitType.SEEK);

       

      super.blockedTraits=traitsToBlock;

       

       

      When the other video loads I try to bring back the full set of traits with:

       

      blockedTraits=new Vector.<String>();

       

       

      and I see the following - because a new video has been loaded

       

      added trait  audio

      added trait  buffer

      added trait  time

      added trait  displayObject

       

      But I never see the playTrait.

       

      How can I reinstate/bring back the play trait?

       

       

       

      regards