By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,501 Members | 2,797 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,501 IT Pros & Developers. It's quick & easy.

read longblob from mysq then play the video

P: 1
i save a video on mysql as longblob, but i cannot retrieve and play the video since the AxWindowsMediaPlayer1.URL requires a URL but my file inside DB is longblob stream.

Expand|Select|Wrap|Line Numbers
  1. Dim dtko As Byte() = DirectCast(READER("video"), Byte())
  2. Dim msko As New MemoryStream(dtko)
  3. AxWindowsMediaPlayer1.URL = ??????

since the file i have retrieve is still a stream byte, what should i do to play it on AxWindowsMediaPlayer1?
Feb 27 '15 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.