This is a migrated thread and some comments may be shown as answers.

RadPlayer.OpenClip( string fileName ) and RadPlayer.OpenClipFromResource( string resourceName ) methods

1 Answer 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jill-Connie Lorentsen
Top achievements
Rank 1
Jill-Connie Lorentsen asked on 05 May 2009, 08:27 AM
What is the difference between the RadPlayer.OpenClip( string fileName ) and RadPlayer.OpenClipFromResource( string resourceName ) methods?

I would like to play a byte[] directly, without saving it to file, intermediate or not. I would think that the OpenClipFromResourse method would do the trick (with some preprosessing), but I can't figure out how.

Is there a way to play a byte[] or MemoryStream object?

Regards, Jill-Connie Lorentsen

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 05 May 2009, 03:38 PM
Hello Jill-Connie Lorentsen,

Thank you for your question. Unfortunately it goes outside the scope of our support, but hopefully someone from the Telerik community will help you out further.

RadPlayer is a simple wrapper of windows media player API and is created with the sole purpose of demonstrating the UI of our controls. You can find the functionality of both methods in our source code which you can download from your account, namely the first one is loading the clip from file and the latter one from a resource in you assembly. I think that you can use memory streams for media content. Please research this in MSDN.

 
Greetings,
Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Jill-Connie Lorentsen
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or