Playing a clip from a TStream
The media player can play a video clip stored in a TMemoryStream, TFileStream or TStream descendant.
Simply assign the TStream descendant to the SourceStream property. When this property is assigned before invoking OpenPlayer, the stream data is used as source by the player.
To go back to the "normal player behavior", set a nil (or NULL in C++) value to SourceStream after invoking ClosePlayer, so that TVideoGrabber uses, for the next OpenPlayer, the clip specified in the PlayerFileName property.