-
25 Jul 2007 6:28 PM #31
Have you tried the linux flash 9 update beta?
http://labs.adobe.com/technologies/flashplayer9/
Also you could just do flash for everything except linux and then degrade to ajax. that would be an awesome module.
Ryan
-
25 Jul 2007 10:09 PM #32
where is the source code?
where is the source code?
where is the source code?
-
25 Jul 2007 10:52 PM #33Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Forest Grove, OR
- Posts
- 1,038
- Vote Rating
- 0
I've got to agree. An ideal component would detect the lack of flash completely or the lack of the appropriate version of flash and default back to the standard Ext file upload via iframe.
Coincidentally, I don't know how quickly I'll get it done, but I'm working on porting UFO (unobtrusive flash object) to an Ext user extension (Ext.ux.UFO).Jeff Howden
Ext JS - Support Team Volunteer
jeff@extjs.com
Any and all code samples that are authored by me and posted on the Ext forums or website are hereby released into the public domain and I release anyone or entity of liability by using said code samples unless explicitly stated otherwise.
Opinions are mine and not necessarily endorsed by Ext, LLC. Please do not contact me directly for assistance unless requested by me.
-
26 Jul 2007 12:36 AM #34
Hi Ryan,
there is already stable version of flash 9 for linux and that is what I use, about:plugins says Shockwave Flash 9.0 r48, and it crashes anyway (segfault).
I'll think about integrating flash/non-flash functionality to one component. For the first glance it seems too much work as they use totally different events/callbacks, they differ in progress calculation and even the UI is slightly different. I'll see...
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
26 Jul 2007 5:28 AM #35
Questions on Beta2
Questions on Beta2
Hi,
Was wondering if you were/are going to making any changes to the non-flash file uploader code? Seems pretty good, but I am curious.
Also, quick question on the code. The input element with type = file, generates a browse button, which is hidden by the css. The "add" button triggers this browse. Is that due to event bubbling? I cannot see how the Add button triggers the browese event.
Thanks!
Dave
-
26 Jul 2007 6:14 AM #36
The code needs a revision, cleanup and removal of hard-coded texts to class variables for purpose of localization. Also, I'm going to implement a method to get progress information.
Add button is fake. The actual <input type="file"> is above it with opacity:0.Also, quick question on the code. The input element with type = file, generates a browse button, which is hidden by the css. The "add" button triggers this browse. Is that due to event bubbling? I cannot see how the Add button triggers the browese event.
Thanks!
DaveJozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
26 Jul 2007 7:05 AM #37Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
Jozeph,
i don't think you should stop developing the one w/ swfupload just because some users can't use it. the amount of linux ff users is pretty small. You could have a clause that checked for swf, if it's not there, then you use the other method.
PHP Code:function checkFlashVersion() {
var x;
var pluginversion;
if(navigator.plugins && navigator.mimeTypes.length){
x = navigator.plugins["Shockwave Flash"];
if(x && x.description) x = x.description;
} else if (Ext.isIE){
try {
x = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
x = x.GetVariable("$version");
} catch(e){}
}
pluginVersion = (typeof(x) == 'string') ? parseInt(x.match(/\d+/)[0]) : 0;
return pluginVersion;
}

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
26 Jul 2007 7:39 AM #38
Well, number of Linux users grows at least in my environment and I'm just not going to develop for Win-only or Mac-only. Either it works for Firefox@All-platform or I just "don't sign under it".
I'm writing in another post about degrading when there is no flash of in incompatible environment it's quite huge task and I don't develop these extensions for living but because I need them.Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
27 Jul 2007 2:26 AM #39
the demo doesn't crash on my firefox@linux!
I'm running Gentoo amd64 with firefox 2.0.0.4 and netscape-flash 9.0.48.0-r1 (nspluginwrapper to get flash running on amd64)
probably the bug that causes the crash has been fixed in my flash-version.
Keep up the very good work on the file-upload fields!!
-
27 Jul 2007 2:40 AM #40
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video


Reply With Quote

