Web Browsers and HTML 5

11 replies [Last post]
Patrick Mc(avery
Offline
Joined: 08/15/2011

Hi Everyone

I've been with Trisquel for about 9 months now and I am very happy with it.

I have a problem but I don't really have enough information to ask for
help in a proper way.

There is a website that offers a free cross compiling service. It is
supposed to support HTML 5 but it fails in:
abrowser, Epiphany, iceCat, Dooble, midori, rekonq and arora.

I can't believe that none of these browsers have html 5 support.

Another person said that this website worked fine with firefox without
flash.

I support the rebranding of firefox but I am stuck. Is there a way to
set up firefox on Trisquel? This appears to be the only solution as I
don't have enough information to ask for help with another solution.

Thanks for reading-Patrick

malberts

I am a member!

I am a translator!

Offline
Joined: 04/19/2011

abrowser definitely has some HTML5 support. I get 299+9/450 at http://html5test.com/ with abrowser on my current setup.

What is the website that fails?

Patrick Mc(avery
Offline
Joined: 08/15/2011

On 11-12-29 02:43 PM, name at domain wrote:
> abrowser definitely has some HTML5 support. I get 299+9/450 at
> http://html5test.com/ with abrowser on my current setup.
>
> What is the website that fails?
>
Thanks very much. I didn't want to bother everyone with this because you
have to register in order to get to the part that fails:

http://www.eluaproject.net/get-started/the-elua-web-builder

You really don't have to go to this trouble for me but if you happen to
have an interest in the project, it fails when you click on upload file.
It fails by offering a video screen instead of a file browser menu.

The thing is all these browsers might have perfect support but the
website designer might not have written the site to identify them.

Is there a way to spoof one of the Trisquel browsers so that it will
identify itself as firefox? Maybe that would work.

Thanks again

quiliro@congresolibre.org
Offline
Joined: 10/28/2010

El 29/12/11 14:55, Patrick escribió:
> On 11-12-29 02:43 PM, name at domain wrote:
>> abrowser definitely has some HTML5 support. I get 299+9/450 at
>> http://html5test.com/ with abrowser on my current setup.
>>
>> What is the website that fails?
>>
> Thanks very much. I didn't want to bother everyone with this because
> you have to register in order to get to the part that fails:
>
> http://www.eluaproject.net/get-started/the-elua-web-builder

This page does not have Flash. Will you please send the exact link?

Patrick Mc(avery
Offline
Joined: 08/15/2011

On 11-12-29 03:11 PM, Quiliro Ordóñez wrote:
> El 29/12/11 14:55, Patrick escribió:
>> On 11-12-29 02:43 PM, name at domain wrote:
>>> abrowser definitely has some HTML5 support. I get 299+9/450 at
>>> http://html5test.com/ with abrowser on my current setup.
>>>
>>> What is the website that fails?
>>>
>> Thanks very much. I didn't want to bother everyone with this because
>> you have to register in order to get to the part that fails:
>>
>> http://www.eluaproject.net/get-started/the-elua-web-builder
>
> This page does not have Flash. Will you please send the exact link?
>
Hi Quiliro

Here is the page after login, it should prompt you to register:
http://builder.eluaproject.net/web/start.lua?control=builder&act=index

The thing is the site should work without flash, HTML 5 is supposed to
be fine.

Thanks

P.S I have to run out for an hour....

malberts

I am a member!

I am a translator!

Offline
Joined: 04/19/2011

I created an account, it was no hassle.

They are using Plupload (http://www.plupload.com/) for the uploader. I could recognise it because the display (dark grey bar at the top with a plus sign) appeared for a moment behind the flash block.

I know for sure that Plupload works with abrowser (and chromium) on Trisquel because I've used that uploader in Drupal sites I've worked on. They both use the html5 widget on my pc, as opposed to the flash widget that elua is trying to use. I haven't done any setup with it in many months but I remember that something had to be edited in one of the files because it would not work straight away. But that might just have been something with the Drupal integration module. Unfortunately my memory on this is vague.

You can use the User Agent Switcher addon for abrowser to make it appear as some other browser. But it does not have definitions for Firefox. Maybe you can find them somewhere or use the Internet Explorer ones they provide.

I'll have a deeper look at this some time tomorrow if I have a moment.

malberts

I am a member!

I am a translator!

Offline
Joined: 04/19/2011

Here's something you can try to bypass the Flash. Install the QuickJava addon. Disable Flash using that (or you could try another method, I don't know them all). If you then reload the upload page you should be able to see the uploader. I can drag files into the uploader but when I click upload nothing happens. I don't know if I'm only allowed to upload specific extensions. Could you try this and see what happens?

Patrick Mc(avery
Offline
Joined: 08/15/2011

On 11-12-29 03:36 PM, name at domain wrote:
> Here's something you can try to bypass the Flash. Install the
> QuickJava addon. Disable Flash using that (or you could try another
> method, I don't know them all). If you then reload the upload page you
> should be able to see the uploader. I can drag files into the uploader
> but when I click upload nothing happens. I don't know if I'm only
> allowed to upload specific extensions. Could you try this and see what
> happens?
>
Thank you so much for taking the time to help with this. I did as you
suggested and made some progress. If I disable flash the correct dialog
pops up now but my experience with the upload is the same as your. I
have a lua programming language file that worked fine before(with Linux
mint/ proprietary software) but failed here.

Thanks again for getting me this far. Let me contact the web site
developer and feed back what you have helped me to achieve so far.

I am doing a tutorial series for elua, once I get this sorted out, I
will be sure to promote Trisquel in it ! :)

malberts

I am a member!

I am a translator!

Offline
Joined: 04/19/2011

I think you used the Flash widget with Mint because that uploader looks for available widgets in the following order:
'flash,gears,silverlight,browserplus,html5'.
I found the change I made on my site and I used:
'html5,flash,html4'.

Which explains why they show the Flash frontend instead of an HTML 5 one.

I tested on a Fedora live CD which does not include Flash and has Firefox 7. As expected it defaults to the HTML5 widget, but it fails in the same way as I mentioned before.

I had a look with Mint 11 and the CD I've got has Firefox 4 and no Flash by default. It used the html5 frontend and I could upload files there by dragging.

Then I updated Mint 11's Firefox to 8 and it fails in the same way as Fedora and Trisquel when Flash is disabled.

It fails with Icecat 9 (rebranded Firefox 9) and Flash disabled on Debian too.

I get the following error:

A.name is undefined
http://builder.eluaproject.net/web/lib/jquery/plupload/js/plupload.full.min.js
Line 1

across all those distros (with Firefox 7-9) when I try to upload with Flash disabled.

It seems like something in the newer versions of Firefox (and therefore abrowser) breaks Plupload in HTML 5 mode. I don't know if eLua is using an old version of Plupload and if they can do something about this.

Patrick Mc(avery
Offline
Joined: 08/15/2011

On 11-12-30 08:50 AM, name at domain wrote:
> I think you used the Flash widget with Mint because that uploader
> looks for available widgets in the following order:
> 'flash,gears,silverlight,browserplus,html5'.
> I found the change I made on my site and I used:
> 'html5,flash,html4'.
>
> Which explains why it shows the Flash frontend instead of an HTML 5 one.
>
> I tested on a Fedora live CD which does not include Flash and has
> Firefox 7. As expected it defaults to the HTML5 widget, but it fails
> in the same way as I mentioned before.
>
> I had a look with Mint 11 and the CD I've got has Firefox 4 and no
> Flash by default. It used the html5 frontend and I could upload files
> there by dragging.
>
> Then I updated Mint 11's Firefox to 8 and it fails in the same way as
> Fedora and Trisquel when Flash is disabled.
>
> I get the following error:
>
> A.name is undefined
> http://builder.eluaproject.net/web/lib/jquery/plupload/js/plupload.full.min.js
>
> Line 1
>
> across all three distros when I try to upload with Flash disabled.
>
> It seems like something in the newer versions of Firefox (and
> therefore abrowser) breaks Plupload in HTML 5 mode. I don't know if
> eLua is using an old version of Plupload and if they can do something
> about this.
>
Thanks so much once again, this must have been at least two or three
hours of work, I really appreciate it.

BTW is your name Morne ? Alberts could also be a first name too....
Could I re-post this to the elua list?

Are you a Trisquel developer? I don't have much money right now but I
have to do something about this, I could make some kind of donation to
Trisquel?

Thanks again-Patrick

malberts

I am a member!

I am a translator!

Offline
Joined: 04/19/2011

Just to be absolutely sure, I managed to track down a Windows 7 computer.

The results:
- Firefox 5 and Flash: upload works
- Firefox 5 without Flash, using html5: upload works
- Firefox 8 and Flash: upload works
- Firefox 8 without Flash, using html5: upload fails as above

So I'm pretty sure now that HTML 5 mode in Firefox >5 has an issue with either Plupload or with the version eLua uses (more likely).

I also found this: https://github.com/moxiecode/plupload/issues/396

Yes, that is my name and you may post it. I'm not a Trisquel developer, just a small time web developer who happened to have used Plupload before. I'm sure Ruben and his team appreciates any donations.

Patrick Mc(avery
Offline
Joined: 08/15/2011

On 11-12-30 10:11 AM, name at domain wrote:
> Just to be absolutely sure, I managed to track down a Windows 7 computer.
>
> The results:
> - Firefox 5 and Flash: upload works
> - Firefox 5 without Flash, using html5: upload works
> - Firefox 8 and Flash: upload works
> - Firefox 8 without Flash, using html5: upload fails as above
>
> So I'm pretty sure now that HTML 5 mode in Firefox >5 has an issue
> with either Plupload or with the version eLua uses (more likely).
>
> I also found this: https://github.com/moxiecode/plupload/issues/396
>
> Yes, that is my name and you may post it. I'm not a Trisquel
> developer, just a small time web developer who happened to have used
> Plupload before. I'm sure Ruben and his team appreciates any donations.
>
Thanks very much again Morne

I made a donation and reposted your valuable results to the elua list

Thanks for the belated Christmas present :)

Happy new year-Patrick