15,891,431 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by kubibay (Top 37 by date)
kubibay
9-Dec-18 23:42pm
View
Yes, I use SingleInstance of dbfactory,repositories and services.
But when I use InstancePerRequest then it increases 100ms for every request.
Since we don't want request durations to increase, I gave up using service implementation.
kubibay
7-Dec-18 4:39am
View
i added details, thx
I supposed this maybe a known issue and there may be a quick answer for ti.
kubibay
12-Jul-16 1:18am
View
Thanks for your response but this is not what I need. I want upload to continue even I click another page. This upload only works on its page.
kubibay
1-Feb-16 2:40am
View
I did, thanks for feedback..
kubibay
7-Jan-16 4:05am
View
I don't see free server application.
kubibay
7-Jan-16 3:49am
View
Deleted
I haven't, let me check if it works..
kubibay
7-Jan-16 3:29am
View
Yes, something like that but I need c# one.
kubibay
13-Oct-15 7:01am
View
I don't think it is what i need.
Let's say; I need to make bold/unbold selected text from a content by a button.
The problem is if there are occurences of selected text how do I understand which one is selected?
kubibay
28-Jul-15 2:10am
View
No, it didn't bother me. I just wanted to learn where the solution is.
Since it is also an mvc project I thought maybe someone also encountered same problem. Thanks for guiding me , I believe it will be more helpful to me.
kubibay
27-Jul-15 9:17am
View
I want to transcode any video format to mp4 format via Amazon Elastic Transcoder for an MVC project, how your link will help me to do that? @g.pickardou
kubibay
4-May-15 4:34am
View
No, I need to download video which is located at server to user's local path/network path.
kubibay
29-Apr-15 7:43am
View
Ok I found the problem, I can now save the video via webclient.download file. But I would prefer to send video bytes in chunks and for non-public videos.
kubibay
29-Apr-15 3:22am
View
It is happening on downloadfile method.. What details do you mean?
kubibay
28-Apr-15 9:43am
View
When I request the url "http://videovlt/videos/7bf9d10b-4006-4b44-9626-e3751df2f4ce.mp4" then video plays. Same error on fiddler !
kubibay
28-Apr-15 3:55am
View
The videos may not be public but when I test the way you suggest I get "The remote server returned an error: (500) Internal Server Error." error..
kubibay
28-Apr-15 3:55am
View
The problem is; server can't access the embedded server, so the embedded server side must be done client side, but the mp4 file is located at server side. So I need to get data from code behind and send it from client side? How can we do that?
I can get bytes from webmethod but can't send them to javascript side!
kubibay
16-Apr-15 8:00am
View
The first link seems broken and the second not really helped.
I know it is not enough to get the problem but I thought maybe someone had similar problem before. It seems nobody did.
The thing is I have to use embedded server - I chosed NancyFx for this -
And I need to play local video file from this http server.
When I go this address from chrome "file:///E:/test_videos/test.mp4" the video plays.
But when I try to do it from httpserver just chrome gives the error.
It is so much confusing..
kubibay
14-Apr-15 9:49am
View
Update: I could play video on firefox and IE, the error occurs only in chrome.
kubibay
14-Apr-15 9:49am
View
Or I should change the way reading stream for video file but how? I can do it in web project using mp4handler, but I don't know how to implement that handler for embedded http server library.
kubibay
13-Apr-15 7:21am
View
yes, when I call "file:///E:/test_videos/test.mp4" from the browser the video plays. By the way the error occurs in the method Process(HttpListenerContext ctx) of Nancy.Hosting.Self library. what is wrong..
kubibay
13-Apr-15 6:58am
View
Yes, like this: return Response.AsStream(() => File.OpenRead(@"E:\test_videos\test.mp4"), "video/mp4");
kubibay
13-Apr-15 6:58am
View
Deleted
Yes, like this: return Response.AsStream(() => File.OpenRead(@"E:\test_videos\test.mp4"), "video/mp4");
kubibay
13-Apr-15 5:29am
View
Hi Kornfeld,
Thanks for your answer. I'm testing the sample for my requirements. It is ok for txt files but for mp4 files I got "c# The specified network name is no longer available" error and stream is empty. Do you have any idea about that?
kubibay
7-Apr-15 8:32am
View
any comment ??, I have spent days and couldn't find a solution! I have detailed the problem..
kubibay
6-Apr-15 6:11am
View
Running chrome with --disable-web-security parameter worked. But I have to find out a way to do it from script since I can't ask customers to set those settings for their browsers.
kubibay
6-Apr-15 4:40am
View
Once I set the "Access data sources across domains" for IE from internet options it works without error for IE, but I couldn't make it work for Chrome and Firefox! I'm desperate , please help.. cors plugin for chrome doesn't work!
kubibay
3-Apr-15 7:57am
View
If I add this to the ajax request; beforeSend: function (request) { request.setRequestHeader("Access-Control-Allow-Origin", "*"); request.setRequestHeader("Access-Control-Allow-Headers", "Content-Type"); } then debug stops on stream.CopyTo(streamReader); if I close web page it goes on but this time streamreader is empty, If I stop the http server then it gives same error...!
kubibay
3-Apr-15 5:35am
View
They are not on the same server, web project will be on web server (in this case on a virtual pc) and any client will have their own embedded http server to handle client responses, I know it sounds weird but I will save a video file from user's desktop to shared storage via the web project. I'm sending ajax request from client's browser and embedded http server will handle the request.
kubibay
31-Mar-15 8:35am
View
I have to do it on client side not on server side, I have to improve the existing code.
kubibay
31-Mar-15 6:06am
View
I could get byte array from reader.readAsArrayBuffer(files[0]) and send with ajaxRequest but sending 500mb file made created a problem, how could i send the byte buffer in small size ?
kubibay
26-Mar-15 9:03am
View
Interesting issue; I could play video on firefox but the problem was chrome, it somehow works multithread and throws error!
kubibay
25-Mar-15 4:56am
View
When I debug I noticed that it is entering SendFile method more than once somehow, this can be the issue, but I don't know why that happens. Another question with this method I can't jump to forward in the video, how can I do that?
kubibay
24-Mar-15 8:20am
View
any idea??
kubibay
24-Mar-15 3:49am
View
Thanks for your reply,
It seem first I need to download to the server to save as to local pc.
If there is no way to download any mp4 link to user local storage then i will try this way.
Thanks
kubibay
23-Mar-15 3:19am
View
Ok then, if we ingore to specify the save path,
how can we download any youtube,vimeo mp4 link to default download location?
kubibay
20-Mar-15 4:09am
View
Ok then , one question;
There are lots of browser extesions which download youtube videos and you can set the download folder,
how they can do that?
kubibay
16-Mar-15 6:30am
View
I'm already using JW Player to play video files.
But how can I play the video file from user's network storage?
\\xserver\xdirectory\y.mp4
Show More