4

I have converted a video to bytes array and stored it in MsSql Database. Now I fetch it from database and I get the byte array. I want to set this byte array as Source of media element and then show this video in WPF application.

Please suggest a way where I can convert byte array or memory stream to Media Elements Source?

I will not have permission to write on users machine, so writing a file onto user machine and then setting the source will not work for me.

1 Answer 1

2

That's not directly possible. Only the MediaElement from Silverlight supports that feature. There are some workarounds. Checkout this link.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.