Page 1 of 2

Purebasic and Html5 and css3

Posted: Mon Nov 14, 2011 1:05 pm
by AlanFoo
I am using the purebasic webbrowswer for my projects and notice that it does not support CSS3 animations or HTML5 videos etc.

Can Purebasic designer doing anything about this? Will there be an upgrade so that we can use the browswer with Html5 and css3?

Image

The above image is a screenshot of the error message.

Thanks.

Re: Purebasic and Html5 and css3

Posted: Mon Nov 14, 2011 1:37 pm
by gnozal
AlanFoo wrote:I am using the purebasic webbrowswer for my projects and notice that it does not support CSS3 animations or HTML5 videos etc.
By default, the PB WebGadget uses the IE engine (ATL module) on Windows...
You may try the #PB_Web_Mozilla flag, but I don't know if the Mozilla ActiveX supports HTML 5...

Re: Purebasic and Html5 and css3

Posted: Mon Nov 14, 2011 1:58 pm
by Nituvious
If you want to design your own browser you'll need to download the page and then interpret the HTML and CSS.

Re: Purebasic and Html5 and css3

Posted: Mon Nov 14, 2011 2:03 pm
by AlanFoo
gnozal wrote:
AlanFoo wrote:I am using the purebasic webbrowswer for my projects and notice that it does not support CSS3 animations or HTML5 videos etc.
By default, the PB WebGadget uses the IE engine (ATL module) on Windows...
You may try the #PB_Web_Mozilla flag, but I don't know if the Mozilla ActiveX supports HTML 5...
I tried it as follows placing #pb_webMozill

Code: Select all

 If WebGadget(10, 0, 31, 0, 0, "http://www.purebasic.com",#PB_Web_Mozilla) = 0 : MessageRequester("Error", "ATL.dll not found", 0) : End : EndIf

It does not work. Same error messages.

Any ideas before the html5 wav sweeps the world and we, purebasic users, are left unable to use it?

Alan

Re: Purebasic and Html5 and css3

Posted: Mon Nov 14, 2011 2:11 pm
by IdeasVacuum
It won't be long before FireFox supports them, but until they do, nobody is going to use HTML5 CSS3 for their websites if they want people to use them....... :wink:

To use FireFox with PB's webgadet, the Mozilla ActiveX has to be downloaded (see PB help).

Re: Purebasic and Html5 and css3

Posted: Mon Nov 14, 2011 2:36 pm
by AlanFoo
IdeasVacuum wrote:It won't be long before FireFox supports them, but until they do, nobody is going to use HTML5 CSS3 for their websites if they want people to use them....... :wink:

To use FireFox with PB's webgadet, the Mozilla ActiveX has to be downloaded (see PB help).
I downloaded and installed Mozilla ActiveX Control 1.7.12, and proceeded to use the webgadget with #pb_web_Mozilla, it got worse. Nearly the entire html5 screen did not show up. Proceeded to uninstall the Mozilla ActiveX Control , it acts as though #pb_web_Mozilla is not there.

Using the native PB Webgadget would be able to run two of the options ie. Web storage and CSS3 fonts. The rest showed browser not supported.
Even under IE9 not all are supported . FireFox runs all.


Image

Re: Purebasic and Html5 and css3

Posted: Mon Nov 14, 2011 2:39 pm
by AlanFoo
Nituvious wrote:If you want to design your own browser you'll need to download the page and then interpret the HTML and CSS.
I am using the PB's webgadget where the entire page loads automatically.

How does one is able to download and interpret the html5 and css code? I am not sure.

Alan

Re: Purebasic and Html5 and css3

Posted: Mon Nov 14, 2011 3:09 pm
by wilbert
Maybe there's a way to use the WebKit engine.
WebKit supports html5 as far as I know but I don't know how it could be embedded.
It looks like there are some Chromium wrappers. Chromium is also based on WebKit.

Re: Purebasic and Html5 and css3

Posted: Mon Nov 14, 2011 6:14 pm
by PureLeo
AlanFoo wrote:
Nituvious wrote:If you want to design your own browser you'll need to download the page and then interpret the HTML and CSS.
I am using the PB's webgadget where the entire page loads automatically.

How does one is able to download and interpret the html5 and css code? I am not sure.

Alan
You would need to download the html page, parse it's html tags and css code, and draw the page yourself on the window. Not something easy or fast to do, and maybe your browser wouldn't be the world smallest browser anymore :/

Re: Purebasic and Html5 and css3

Posted: Mon Nov 14, 2011 6:39 pm
by wilbert
Creating your own parser and renderer wouldn't be very logical.
Maybe this works http://awesomium.com/

Re: Purebasic and Html5 and css3

Posted: Wed Nov 16, 2011 1:08 pm
by Bisonte
wilbert wrote:Creating your own parser and renderer wouldn't be very logical.
Maybe this works http://awesomium.com/
oha.... License cost : $2900...

Re: Purebasic and Html5 and css3

Posted: Wed Nov 16, 2011 1:13 pm
by wilbert
If I understand it correctly, you can use the free license unless your company made over $100K last year.
If your company made over $100K last year, you probably can afford such a license.

Re: Purebasic and Html5 and css3

Posted: Wed Nov 16, 2011 1:16 pm
by Kuron
Bisonte wrote:
wilbert wrote:Creating your own parser and renderer wouldn't be very logical.
Maybe this works http://awesomium.com/
oha.... License cost : $2900...
Only if your business made mode than $100,000 last year. :wink:

The license is free if you have made under $100,000.

Re: Purebasic and Html5 and css3

Posted: Wed Nov 16, 2011 1:19 pm
by MachineCode
gnozal wrote:By default, the PB WebGadget uses the IE engine (ATL module) on Windows
Does that mean if the latest version of IE is installed on the PC, that the WebBrowserGadget() can make use of it?

Re: Purebasic and Html5 and css3

Posted: Wed Nov 16, 2011 1:33 pm
by Kuron
MachineCode wrote:
gnozal wrote:By default, the PB WebGadget uses the IE engine (ATL module) on Windows
Does that mean if the latest version of IE is installed on the PC, that the WebBrowserGadget() can make use of it?
Yes. The atl.dll has nothing to do with IE, it is simply an ActiveX container. Fred could just as easily write an OLE container and drop the need to distribute the atl.dll with our programs, but I am sure Fred has a reason for doing it the way he is.