We want to choose files (pdf, png, doc, ppt etc...) from our mobile device and upload it to a third party. We tried wx.chooseMedia, but it only supports images and videos, as well as wx.chooseMessageFile, which lets users choose files from their chat history.
Is there a way to choose documents from the mobile storage (iOS or Android)?
Maybe you should kown more about the rules of IOS.
IOS don't support upload common file from mobile disk.
So all applications can't provide solutions with uploading file.
The api "wx.chooseMessageFile" only provide limited method to do this.
Related
I'm saving videos to Firebase Storage and creating a URL for it which I saving into Cloud Firestore. So when ever someone watch a video I call the URL and Firebase downloads it. That increased my project costs enormously.
The question that I have is, is there a way to save the mp4 files cheaper?
And maybe also make it faster to download?
The best solution will be if I can like I used before. So in the new solution, also use the download URL which I saved in cloud Firestore. So that I don't need change too much. My Project is using Flutter in client side.
I created a mobile app, where user can upload videos for example like Instagram or TikTok.
I'm willing to pay if you freelancer and can help.
You can use Youtube or Vimeo to store your videos for free (Vimeo is limited to 500mb).
Then you can use a package from pub.dev to display these videos.
YouTube package (does not support to download the file, only playback)
Vimeo package (max 500mb, then you have to pay)
So both have their advantages and disadvantages.
It is possible to upload videos to YouTube using Google API. There is an example done using flutter which can be ideal for your use-case. Have a look at this video on youtube.
I'm looking to build an ASP.NET application that will allow users to upload audio files (only) and playback the media through the site. I was planning to use Azure Blob Storage to hold the media but do I need to use Azure Media Services and Player for upload and playback?
Is using Azure Media Services and Player over the top for audio as all the examples I can find concentrate on Video.
Any help or advice gratefully received.
You do not need to use Azure Media Services or the AMP (Azure Media Player) for upload and playback.
The key benefit (for me, at least) of using AMP
AMP can recognize which platform (iOS, Android, browser, etc) your user is on, and then scaffolding code to distribute the appropriate video file (ex: HLS on iOS, Smooth Streaming on MSFT platforms, DASH where it is supported). Now, the media player will handle all of that for you.
Uploading video
You can do this programmatically, either through a web app or compiled app that you write, or through Visual Studio's built-in upload tool. You'll need the Azure SDK installed to do this.
Uploading directly to blob storage
You do not need to upload your video to Azure Media Services directly. Instead, you can upload to a blob storage account (this is what I do), and then have your Azure Media Services account point to your blob storage.
The reason I do this is because I can more easily organize and manage my files in there, either by naming my blob of the folders within it.
Supported input formats for Azure Media Services
Various video, audio, and image file types can be uploaded to a Media Services account, with there being no restriction on the types or formats of files that you can upload using the Media Services SDK. However, the Azure Management portal restricts uploads to the formats that are supported by the Azure Media Encoder.
Content encoded with the following video codecs may be imported into Media Services for processing by Azure Media Encoder:
H.264 (Baseline, Main, and High Profiles)
MPEG-1 MPEG-2 (Simple and
Main Profile)
MPEG-4 v2 (Simple Visual Profile and Advanced Simple
Profile)
VC-1 (Simple, Main, and Advanced Profiles)
Windows Media
Video (Simple, Main, and Advanced Profiles)
DV (DVC, DVHD, DVSD,
DVSL)
More information
I have more detailed information on all of this in a series of blog post tutorials on the subject. Let me know if there is anything more that I can do to clarify.
I am building an app using worpress as the backend and ionic as the front end. I know there are a number of metods to store data offline, what is the most robust option? I will be deployning on ios and android and the data may contail larger files, i am leaning towards using the file api and saving .json files?
Did you look at the Storage guide in the Cordova docs? (http://cordova.apache.org/docs/en/4.0.0/cordova_storage_storage.md.html#Storage)
The "best" approach depends on what you are storing. If you are storing text based content, then WebSQL is probably best for you. If you are storing data that is more abstract (last article viewed, number of times something has been read, etc) then LocalStorage may be better.
Finally - I tend to only use the file system for binary data, like images, video, etc.
I have an asp.net site which is essentially a repository of documents uploaded by users.
I would like visitors to the site to be able to view any of these documents in some sort of "document viewer" without ever being able to download the file to their local system.
Documents are all Office files and PDFs.
Please advise if there are open source or commercial "document viewer" controls that you have used and would recommend.
EDIT: I own the server and can load any server components. Unfortunately i can't use flash based viewers as it must be compatible accross all browsers and devices.
We had a similar requirement and we converted all office docs and PDF files to SWF files using Print2Flash (http://print2flash.com/) and display them in the browser. There are both free and commercial editions of print2flash.
Just answering for anyone else looking up this info.
I ended up going with Adeptol's Ajax Document Viewer which works really well.
I want (barely computer literate) people to easily submit a large number of files (pictures) through my web application. Is there a simple, robust, free/cheap, widely used, standard tool/component (Flash or .NET - sorry no java runtime on the browser) that allows a web user to select a folder or a bunch of files on their computer and upload them?
swfupload, the best tool I know that lets you do that. Simple, easy to use and even has a fallback mechanism for the 1% web users that don't have flash 8+.
I found that the best way to upload a bunch of files is to zip them and upload a single file (and then decomress it on server). However that's probably not a good option for the audience you are targeting.
We had a company come up with a Silverlight upload that could resize the pictures before hand so that the 5MB files didn't have to be uploaded and then resized. The image resizing capability wasn't included with the clr that comes with Silverlight. Occipital came up with their own. You can see it here:
http://www.occipital.com/fjcore.html
I don't know what they would charge, but we have been extremely happy with how it works. If you don't need the resize capability before uploading then I would go with one of the flash upload options like http://swfupload.org or http://www.codeproject.com/KB/aspnet/FlashUpload.aspx