Hi,
I found a pb in the VideoLoader Class
When i try to use the method gotoVideoTime where time=0, the video seems to play but there is a black screen, only the sound play...
Am i doing something wrong ?
private function updateEtape(e:VideoRecetteEvent):void
{
trace("updateEtape", "etape:"+e.etape)
// maj VideoPlaylist
if (_playlist.etapeAct != e.etape) {
_playlist.etapeAct = e.etape;
_playlist.etapeCheck();
}
trace("_playlist.etapeAct:"+_playlist.etapeAct)
// maj VideoEcran
_ecran.controls.etapeAct = e.etape;
_ecran.ecranPlayer.gotoVideoTime(e.videoPosition, true);
}
...
public class VideoRecetteEvent extends Event
{
public static const COMPONENT_READY:String = "component_Ready";
public static const UPDATE_ETAPE:String = "update_Etape";
public static const CONTROLS_SEEK:String = "controls_Seek";
public static const PLAYLIST_CHANGE:String = "playlist_Change";
public static const PLAY_PAUSE:String = "play_Pause";
public var etape:Number;
public var videoPosition:Number;
public function VideoRecetteEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
{
super(type, bubbles, cancelable);
}
}