2 Replies Latest reply on Nov 16, 2011 12:00 PM by abeymg

    Reuse the same stageVideo

    abeymg Level 1

      I have an app that uses two instances of the MediaPlayer. One plays content, the other plays ad. They never play simultaneously, but for various reason we need to have 2 instances.

      When I use stageVideo, I notice that when switching between the content to ad playback, I briefly get a glimpse of the stageVideo instance associated with the content player, and then I see the stageVideo instance associated with the ad playback..and vice-versa.

       

      My guess is, this happens because internally OSMF, tries to use a different stageVideo instance for each player.

      My question, is there a way to force it to reuse the same StageVideo instance for both players?

       

      - Abey