Icon and Flash/HTML5 Plugin?

BlitzPlus Forums/BlitzPlus Tutorials/Icon and Flash/HTML5 Plugin?

Studios(Posted 2013) [#1]
Hey, I am developing a web browser for computers that don't have very high specs but I want my web browser to have a icon instead of having the default windows icon (I have already made the icon 256x256) and I'm also wondering how I can make Flash Player/HTML5 run faster and more smoothly with my browser. Can anyone help me with this?

misth(Posted 2013) [#2]
You can change your icon with ResourceHacker for example, but I have no idea about Flash or HTML5, but I think browsers have some kind of parser and processor built-in for HTML and CSS. I really don't have any idea, but I might be right. :D

Yasha(Posted 2013) [#3]
Well HTML5 isn't really a plugin so much as the thing that a browser would actually be expected to do...

You can steal the JavaScript interpreters from Chrome or Firefox pretty easily though:

-- V8 (Chrome): http://code.google.com/p/v8/

-- SpiderMonkey (Firefox): https://developer.mozilla.org/en-US/docs/SpiderMonkey

Both of those are really high-performance industrial strength solutions, but are quite hard to build and integrate with your project - you could equally go for something lighter if you don't mind poorer performance:

-- Quad-Wheel: http://code.google.com/p/quad-wheel/

-- tiny-JS (this one doesn't conform properly to the standard JavaScript language, but on the other hand it's one file that you could probably even translate to Blitz code with some difficulty): http://code.google.com/p/tiny-js/

For the pure HTML part, there are a couple of XML loaders in the code archives that you might be able to extend to support HTML:

-- http://www.blitzbasic.com/codearcs/codearcs.php?code=1393

-- http://www.blitzbasic.com/codearcs/codearcs.php?code=361

For Flash, your only real option is to use whatever Adobe provide. The licence issues surrounding Flash mean that you're actually not allowed to re-engineer your own Flash player solution, and must use their one, so if it doesn't work it doesn't work. You might consider using Gnash, but you can't work on it yourself for complicated legal reasons and it doesn't work anywhere near as well.