I want to upload videos / large files without flash plugin - php

I want to upload video (basically large files) without using Flash Plugin.
It would be better if it shows progressbar also.
Of course I don't want to use the browser's default browse button as it is not good for large files.
OR
Is there any javascript (or any js framework like jQuery) solution for uploading large files?
(prefferebly with progressbar)
Note : Currently I don't want to use HTML5

A hidden gem in the internet is PLUPLAOD
Before i found this I was bald from ripping my hair out in uplaoding files. plupload enables you to uplaod 2GB files or larger if you want, using chrome gears, html5, silverlight or flash proxies/capabilities
The best part is it detects what the current browser can handle and injects the correct proxy or handles the process manually in the core. If it does not support anything well then the user needs to upgrade his browser..
If you are using .NET here is a handler I found, tweaked and works well.
https://stackoverflow.com/a/6109862/706363
There are plenty of PHP examples.
This is truly an awesome JavaScript plugin!

Have a look at these links,
http://www.johnboy.com/blog/a-better-php-upload-progress-bar-using-jquery
jQuery ajax upload with progress bar - no flash
http://www.webappers.com/2011/01/24/jquery-file-upload-with-upload-progress-bar/
I did a normal google search and found these..

Related

File uploads in IE8 and IE9

This question may have been asked multiple times, but I haven't been able to find a proper answer.
I'm developing a website that also includes an image upload. Using HTML5 APIs I have been able to create individual progress bars for every image upload process.
As noted in the official documentation, IE9 and earlier versions don't support multiple file uploads and HTML5 APIs.
What I need is a progress bar for IE9 and lower.
I've read that iframes aren't capable of displaying the progress of file uploads. Neither I want to resort to some flash upload plugin.
I've also read that it is possible to add APC support (if not present) to the server which is configured to report the file's upload progress.
So, how safe is APC and are there any other possible ways of displaying progress bar in IE9 and lower versions?
As it turned out, APC is considered 'deprecated' and Session Upload Progress should be used instead!

How to upload files using Ajax and Codeigniter without having Flash support?

I have tried to many javascript plugins but finally had to post this question. Which is the best way to upload files using PHP CodeIgniter framework & Ajax ?
I use Plupload for everything now. Because it is mostly client side driven it runs on any almost any webbrowser and platform(.net,php,etc)
It uses clever ways of detecting browser compatibility; It tries to inject Flash objects or silverlight into the client to allow for functionality such as chunked uploads allowing for uploads greater than 2gb, with speed(kb/s), queue management, etc.
This is truly an amazing uploader.. but it is so under exposed that it took me years to find this. And now my sites (with a bit of perfectionist work) look like Google or Facebook styled uploaders.. FOR FREE!
I've used http://valums.com/ajax-upload/ with great success in a web app. That was over a year ago, though. I used Kohana, not CI, but it's really agnostic on that matter.
ajax does not natively support file uploads. you can achieve this by submitting a form to an iframe and reading the response. there are many plugins available which serves the functionality in an organized way.
use this one :
http://www.phpletter.com/Demo/Tinymce-Ajax-File-Manager/ ;)

Simplest PHP Upload Progress Bar

I have been looking for AGES trying to find a progress bar i can easily integrate without having to downloads libraries like APC etc.
Does anyone know a really simple PHP progress bar i can integrate with ease into my current code?
Massive Thanks!!!
First of all, You need to search inside JS plug-ins not PHP. That's why you did't find anything: there is no "progress-bar for PHP".
Instead, there are bunch of free jQuery (especially Ajax based) upload plugins. Here are some of them
http://www.uploadify.com/
http://valums.com/ajax-upload/
http://blueimp.github.com/jQuery-File-Upload/
If you want to have a true (server side) progress bar, you will have to install the libraries you mentioned.
You can however fake it, if the client knows how large the file is and how much it has transferred already.
Plupload is one with multiple engines (HTML5, Flash, Silverlight etc.) and is being integrated via jquery
This would be one http://pixeline.be/experiments/jqUploader/test.php
Check this out:
http://valums.com/ajax-upload/
It doesn't require APC or any other external PHP libraries and you can get file progress feedback on a shared host.

Displaying PowerPoint slides on a web page automatically

Anyone know of any Flash components that would do the job of displaying an external PowerPoint file (e.g. .PPT, .PPTX) file in a Flash movie on a web page? Or a way of automatically parsing uploaded PowerPoint docs from a PHP-based CMS and displaying them on a web page.
Our client needs to be able to upload a PowerPoint documents on their site without any intervention (if necessary).
I know about Slideshare and the like, but the content needs to live on the client's web server due to security restrictions. Also, Adobe Presenter seems to require Adobe software/plugins on the clients machine which wouldn't be ideal.
You could use Google Docs. It supports previewing PDF/PPT/DOC (Don't know about XLS) files.
I use it on one of my projects and it behaves very well.
You can call it using http://docs.google.com/gview?url=<your absolute file url here>
you could also use the embed=true parameter to embed it into your site, using an iframe or that sort of thing.
Hope this helps.
Using COM you can save a PPT as a PDF (see this question), and then use swftools' great (and free) pdf2swf utility to get nice swfs.
You can use http://ajaxdocumentviewer.com/. I use it on a large site with good success. It will require a flash or pdf viewer plugin.
Hmm have you looked at the new Sharepoint 2010? They do have some sort of integration with MS Office 2010. The demo i saw allows collaboration as well as uploading and viewing powerpoint slides (with all the nice transitions preserved) and even some minor edit functions.
For the browser I think they said that there isn't a need a install any plugins like flash or silverlight and works on all browsers.

Ajax/Flash file uploads with a progress bar?

I'm looking for a simple solution that will be:
Easy to integrate
Allow multiple file uploads
Show a progress bar while the file is being uploaded
Any ideas?
I've tried Swfupload and its a real pain to integrate.
Fancy Upload
No contest.
Requires Mootools. Easy to setup, very very powerful. Small.
Lots of goodness.
I've personally had good luck with a script called uploadify (It's jQuery based). It allows for multiple uploads, looks good and is very easy to integrate into any web application.
There's also another method for doing this which is server side based. You can either use the so called "secret feature" from the apc extension or a PECL extension called Upload Progress
I haven't tried it but aparently this is the same thing but easier
http://blogs.bigfish.tv/adam/2009/06/14/swfupload-jquery-plugin/

Categories