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

MediaPlayer Source Stream/Byte[]

2 Answers 285 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Stanley
Top achievements
Rank 1
Stanley asked on 11 Jun 2015, 02:18 PM

Hi,

Is it at all possible to set the media source of the RadMediaPlayer to a MemoryStream?

I am storing voice recordings in our database as a byte[] and then reading them back into our webapp. I want to avoid writing the byte[] to a file and then re-reading it just to play it back.

Any help would be appreciated.

Thanks

2 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 16 Jun 2015, 12:09 PM
Hi Stanley,

Basically, the player control extends the default HTML5 video tag and the available formats are entirely dependent on the browser capabilities. In this sense, the player will play any video which is playable via the default <video> tag:
http://www.w3schools.com/html/html5_video.asp


Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Eyup
Telerik team
answered on 06 Jul 2015, 07:23 AM
Hi Stanley,

Basically, the player control extends the default HTML5 video tag and the available formats are entirely dependent on the browser capabilities. In this sense, the player will play any video which is playable via the default <video> tag:
http://www.w3schools.com/html/html5_video.asp


Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
MediaPlayer
Asked by
Stanley
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or