0 Replies Latest reply on Dec 15, 2011 2:23 AM by panell

    OSMF Preload video

    panell Level 1

      Hello

      Since I cant write new post in OSMF section (not sure why) I must ask here.

       

      I want to preload adout 10-15 videos inside my application. I am using OSMF player to play videos.

       

      var videoElement:VideoElement = new VideoElement(new URLResource(_url));

                      _mediaPlayerSprite = new MediaPlayerSprite();

                      _mediaPlayerSprite.mediaPlayer.autoPlay = false;

                      _mediaPlayerSprite.mediaPlayer.autoRewind = false;

       

      Let's say I have 15 sutch players and I want to preload them in que (two itemds at the time)

      What is the best way to do start preload video when it is already created like  above?