Hi every one,
I need to play large video file [ 2 GB ] in silverlight OOB application.
I am using byte array to read the stream of the video file. so its giving error like OutOfBoundException if i try to load large files.
this is the sample code
FileStream fs = new FileStream("video.mp4",FileMode.Read);
fs.Read(byteArray,0,byteArray.Length); This is line giving error..
Help me..
Thanks in advance..
Loading

Krishna GaradPosted Feb 8, 2011, 2:24 AM
Jaganathan BantheswaranPosted Feb 8, 2011, 2:21 AM
But i am trying to play video using Silverlight OOB Application. You may be knowing that In silverlight we cant access the file from local drive. Thats why i confused.
Krishna GaradPosted Feb 8, 2011, 2:12 AM
Krishna GaradPosted Feb 8, 2011, 2:11 AM
Jaganathan BantheswaranPosted Feb 8, 2011, 2:01 AM
I need to play the video from the local drives like [ C:\, D:\ ...]
Jaganathan BantheswaranPosted Feb 8, 2011, 1:58 AM
Thanks.. But i need to play the video from local drives [C:\,D:\...].
Soft CornerPosted Feb 8, 2011, 1:09 AM
take a look on this article
http://www.c-sharpcorner.com/UploadFile/mahesh/3851/
Krishna GaradPosted Feb 7, 2011, 11:26 PM
Silverlight provides one media control you can use this control to play a video for this you have no need to read from bytes and other. just give the url of video.