Setting up HTML5 web-browser

Monkey Targets Forums/HTML5/Setting up HTML5 web-browser

degac(Posted 2011) [#1]
This is the problem (tested with v32 v33 v34b)

In the file config.winnt.txt by default we have HTML_PLAYER tag 'commented out'; so Monkey is forced to use the 'default' browser.
If I change to
HTML_PLAYER="C:\Documents and Settings\degac.AMIGA.000\Impostazioni locali\Dati applicazioni\Google\Chrome\Application\chrome.exe"

everything is compiled and showed in Chrome.

If I specify
HTML_PLAYER="${PROGRAMFILES}\Mozilla Firefox\firefox.exe"
or
HTML_PLAYER="C:\Programmi\Mozilla Firefox\firefox.exe"

nothing starts or sometimes I get 'C: is not a recognized file protocol...'.

Anyone else has this problem?

PS: tested on WinXp, with FF4, FF4beta


degac(Posted 2011) [#2]
Sorry! But I really need to understand what I'm doing wrong.

I've tested it under WindowsXP and Windows7... same behaviour.


skid(Posted 2011) [#3]
I think trans needs to add a file:// at the beginning of the filename passed to the browser for this to work.


degac(Posted 2011) [#4]
So this can be considered a bug in TRANS? Or a bug in FF?

Just tested on another computer (using V29 only to check if this is a 'new' thing or not...).
If I specify HTML_PLAYER="C:\Programmi\Mozilla Firefox\firefox.exe" I get the same error...


therevills(Posted 2011) [#5]
Im using Chrome with the following config:

HTML_PLAYER="C:\Users\KAS\AppData\Local\Google\Chrome\Application\chrome.exe"

And it works fine.


degac(Posted 2011) [#6]
Yes I know, every other browsers is invoked correctly. The problem is FF.