I am creating module for video management. I researched everythingand know how to do that, but coped with strange problem. I will use standard Media Capabilities of orchard. I mean i click Media -> Add Media and choose file to upload to server. When i choose .wmv(and other not video formats) all works fine, but then i tried to upload .avi, .mp4, .flv it gives me - Error 101 (net::ERR_CONNECTION_RESET): The connection was reset. I have tried in different machines and different window(windows 7 and winows 8), in defferent browsers(firefox and chrome), but the same problem.
Please help.
Regards,
Dima.
Please raise the IIS size limit setting: http://msdn.microsoft.com/en-us/library/ms689462(v=VS.90).aspx
Related
I have been using System.Speech for converting text to speech and using this code
C# Save text to speech to MP3 file
it works perfectly fine at local but not working properly on server, when i upload it on server it create mp3 of size 2kb only which doesn't play even. I don't know what is it on server who is blocking creating mp3 on server . I have uploaded libmp3lame.32.dll and libmp3lame.64.dll also in the Bin folder and on Root Folder . But Still its not working properly. Can anybody help me to find what issue probably i am facing right now on server ?
It was an issue of application pool setting over server . This linked helped me to solve my issue.
ASP.NET Web Application - on deploy, System.Speech.dll object not getting set to an instance of an object
I'm developing a Universal Windows Platform app that allows a user to open and edit files using the FileOpenPicker. The idea is that the user can choose any file on their computer, including files located in their OneDrive folders. On Windows 10 Desktop, this is working perfectly.
However, on a Windows Phone 10 device, the result is very different. When a user chooses a file with the picker, the file is downloaded to a local storage folder, and the user is able to edit the file. But when the file is edited, it is not synced back to OneDrive.
According to https://dev.onedrive.com/
Picker SDKs enable your app to open and save files on OneDrive with hardly any code.
And also here https://dev.onedrive.com/sdks.htm, it says
Add OneDrive to your app in minutes with a few lines of code.
Get a link from OneDrive for sharing or downloading the contents of a file.
Save a file on the user's local device to OneDrive so it's available on all your users' devices.
This is a little confusing to me. From what I understand, I should be able to open files from OneDrive using the picker, and also save them. But is seems to only be able to open the file, and when I edit it, only the local copy is modified. It's never synced back to OneDrive
Has anyone else experienced this issue? Does anyone know how to use the FileOpenPicker to open and modify a file on OneDrive, and have it synced back to OneDrive?
By the way, I have also looked at this stackoverflow question and answer, but this doesn't seem to address the same issue I am having:
How to open a file from OneDrive with FileOpenPicker?
I really appreciate any help or guidance on this. Thanks!
I'm having the same issue and it has been like this with the OneDrive app since the API's were introduced with WP 8.1. The API's work fine because the Dropbox app supports them and it works as expected. You can do testing with that and hopefully Microsoft will get their act together.
There's a post on the msdn forums back in July of 2014 about it and other issues with no answers.
I am having a WPF-MVVM desktop application. I want to play a media file in this application.
The media file is stored at some remote server (actually hosted on IIS). It requires credentials to access it. I am using MediaElement to play the audio file.
The problem is how to specify the credentials with mediaElement?
One workaround is using HttpWebRequest & download the file in some temp folder. Onces downloaded then I can play the local file. But I don't want to create any file locally. Is there any way I can specify the Stream as input to MediaElement.
Atul Sureka
It should be possible to use the syntax username:password#host for setting the source.
If not, please provide further information how you are trying to do it and what kind of error you get..
While reflecting my answer, I just found this LINK, saying that my answer might be deprecated.
If you are not successful, you might have a look at the link.
I am trying to get Vimeo videos to play in a windows 7 phone app. I used the answer here: How can I find download links for vimeo videos? to get a Vimeo URL that looks like this:
http://vimeo.com/moogaloop/play/clip:29415171/f44f7a1dc39fb9b6ebede558e459274e/1310792258
The problem is when I use a non-mobile web browser the video will redirect you to the MP4 version of the file which plays correctly but if played on my Win7 phone (any browser) it doesn’t work. Instead I get a “We are having trouble displaying this page” and a “Error: HTTP 500 Server Internal error”.
Does anyone know how to work around this to get the video to play? Maybe another approach entirely?
I saw this similar question here vimeo video as .mp4 format in android for the Android but its 2 months old and no one has even commented or answered. I know it’s possible to play Vimeo videos in W7 Phone because there are apps for it.
Any help would be appreciated. As always thanks in advance.
For starters, ensure the version of Windows Phone being tested in Windows Phone 7 Mango. As that version has IE 9 with HTML5 video support.
I then believe you need a paid Vimeo account to create mobile videos.
It seems that Vimeo has now added mobile support for Win 7 phones on its site. So if you go to a Vimeo video http://vimeo.com/m// a page will open that will allow you to play and successfully watch the video.
This is not the best solution, as I would rather have a direct link to the video, but for now it's a working solution. If in the future I figure out a way to directly link to the video files I will post it here (or if someone else has done this I would love to know how you did it)
I have 2 identical ASP.NET applications, one running on Windows Server 2003 with IIS6 and another running on Windows Server 2008 with IIS7.
The one on IIS6 runs perfectly, but on IIS7 I'm unable to seek while playing my video.
They are both using the exact same HTTP-handler for streaming.
I'm using the JW player for Flash (v. 5.2) and Sorenson Squeeze 6 for converting the videos from .mpg to flv.
The FLV stream-handler is very (but not completely) similar to the one on this site
The one on IIS6: demo.orbicon.dk/wgv
The one on IIS7: kloakkort.nk-forsyning.dk/webgrafvideo/?filename=15050
I'm not allowed to post more than 1 hyperlink yet, so this will have to do :)
Seems like this is an issue with keyframe metadata. Keyframes are used in streaming servers to indicate the nearest position to which you can safely seek. Now, look at your files in the LongTail testing tool:
IIS 6: http://bit.ly/9cAM9X
IIS 7: http://bit.ly/cCoair
You'll notice that the IIS 6 file has several hundred keyframes, while the IIS 7 file does not. This means that the player is making a seek request every time you click in the controlbar, but the only keyframe that's available is at the start of the video, so it restarts.
This could be caused by two things: either the file doesn't have the keyframe metadata, or the streaming server isn't sending the keyframes along. If it's former, that can be fixed using FLVMDI. If it's the later, you'll need modify your server config / streaming script, and for that I defer to the IIS folk.
Best,
Zach
Developer, LongTail Video