There's no direct way to do that.
I remember there's a similar code in the StobeMediaPlayer code, in PlaybackOtpimization*.as
Can I ask what will you use it for? You are expected to know what you're playing.
I want to show the video previewer when the mouse move over the scrubber, just like youtube does , but instead of pictures, i want to use subclip , so i think i can use clipStartTime and clipEndTime to implement this . just like this :
simpleVideoPlayer.resource = new StreamingURLResource("rtmp://server/sample",StreamType.LIVE_OR_RECORDED,currentTime,currentTime+1);
If the media is not a streaming asset , this will not work, so i need to check if the stream is progressive download , if true , nothing will happen.