Purebasic and Html5 and css3

Just starting out? Need help? Post your questions and find answers here.
AlanFoo
Enthusiast
Enthusiast
Posts: 172
Joined: Fri Jul 24, 2009 6:24 am
Location: Malaysia

Purebasic and Html5 and css3

Post 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.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Purebasic and Html5 and css3

Post 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...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Nituvious
Addict
Addict
Posts: 1029
Joined: Sat Jul 11, 2009 4:57 am
Location: United States

Re: Purebasic and Html5 and css3

Post by Nituvious »

If you want to design your own browser you'll need to download the page and then interpret the HTML and CSS.
▓▓▓▓▓▒▒▒▒▒░░░░░
AlanFoo
Enthusiast
Enthusiast
Posts: 172
Joined: Fri Jul 24, 2009 6:24 am
Location: Malaysia

Re: Purebasic and Html5 and css3

Post 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
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Purebasic and Html5 and css3

Post 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).
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
AlanFoo
Enthusiast
Enthusiast
Posts: 172
Joined: Fri Jul 24, 2009 6:24 am
Location: Malaysia

Re: Purebasic and Html5 and css3

Post 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
AlanFoo
Enthusiast
Enthusiast
Posts: 172
Joined: Fri Jul 24, 2009 6:24 am
Location: Malaysia

Re: Purebasic and Html5 and css3

Post 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
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3942
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Purebasic and Html5 and css3

Post 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.
User avatar
PureLeo
Enthusiast
Enthusiast
Posts: 221
Joined: Fri Jan 29, 2010 1:05 pm
Location: Brazil

Re: Purebasic and Html5 and css3

Post 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 :/
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3942
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Purebasic and Html5 and css3

Post by wilbert »

Creating your own parser and renderer wouldn't be very logical.
Maybe this works http://awesomium.com/
User avatar
Bisonte
Addict
Addict
Posts: 1313
Joined: Tue Oct 09, 2007 2:15 am

Re: Purebasic and Html5 and css3

Post 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...
PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3942
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Purebasic and Html5 and css3

Post 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.
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: Purebasic and Html5 and css3

Post 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.
Best wishes to the PB community. Thank you for the memories. ♥️
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Purebasic and Html5 and css3

Post 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?
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: Purebasic and Html5 and css3

Post 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.
Best wishes to the PB community. Thank you for the memories. ♥️
Post Reply