Integrate Firefox webbrowser for MediaPortal

Status
Not open for further replies.

juli13

Staff member
Administrator
Messages
10,198
Integrate Firefox webbrowser into MediaPortal ver 1.4



Code:
Features:
- Start Firefox 3 from MediaPortal home menu in full screen mode (F11)
- Operate in Firefox with your remote controller as in MediaPortal
- Adjust Firefox zoom level with your remote controller
- Get full mouse control inside Firefox with your remote controller
- Enter text inside Firefox like SMS typing on your mobile phone

Installation instructions:
1) Firefox (Version 3) and MediaPortal have to be installed in their default directories
2) Copy FirefoxIntegrator.exe and FirefoxIntegrator.dll 
from \plugins\windows\ to C:\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\
3) If you use Blue3, Blue3wide, Monochrome or Indigo Skin 
copy skin\...\Media\hover_FirefoxIntegrator.png to C:\Program Files\Team MediaPortal\MediaPortal\skin\...\Media\
4) Download and install MultiShortcut plugin
5) Run DLLFix.exe in C:\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\
6) Start MediaPortal Configuration
7) Select "Plugins" - "FirefoxIntegrator" - "Config"
8) Fill out following fields (see \doc\FirefoxIntegrator_MultiShortcutConfig.jpg) 
ButtonCaption "Webbrowser" (or alternative text)
Picture "hover_FirefoxIntegrator.png" (or alternative picture; take a look in your \skin\...\Media\ directory)
Exefile "C:\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\FirefoxInt egrator.exe"
Optional you are able to add some Firefox command line arguments, 
e.g. with the argument "www.team-mediaportal.com" Firefox will open the MediaPortal homepage.
9) Select "Save" and close MediaPortal Configurator with "OK"

*) Soundgraph iMon users: Add "firefox" into iMON Manager to your programs and 
import the same MediaPortal.imo file which you use for MediaPortal!
If you use WinXP maybe it is necessary to change FirefoxIntegrator - MultiShortcut Konfiguration - "Hide MP While Executing"
from "False" to "True" if iMon Manager is not able to detect that Firefox is the most foreground window!

Update instructions:
Copy FirefoxIntegrator.exe from \plugins\windows\ to C:\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\

Tip:
You can create multiple FirefoxIntegrator's by making copies of FirefoxIntegrator.exe and FirefoxIntegrator.dll,
for example:
FirefoxIntegrator1.exe FirefoxIntegrator1.dll
FirefoxIntegrator2.exe FirefoxIntegrator2.dll
FirefoxIntegrator3.exe FirefoxIntegrator3.dll
After running DLLFix.exe every FirefoxIntegrator shortcut can be configured individual,
for example:
FirefoxIntegrator1: Exefile "FirefoxIntegrator1.exe", ButtonCaption "Google News", Arguments "news.google.com"
FirefoxIntegrator2: Exefile "FirefoxIntegrator2.exe", ButtonCaption "TV Program", Arguments "www.tvinfo.de"
FirefoxIntegrator3: Exefile "FirefoxIntegrator3.exe", ButtonCaption "Ebay", Arguments "www.ebay.com"

Remarks:
This is not a classical plugin, it is a tool which run your "normal" installed Firefox out of MediaPortal,
translate your remote controller commands to Firefox hotkeys, emulate full mouse control with
your remote controller and give you SMS like text input without a need of a keyboard.
This tool was created with AutoHotkey, the source file is included.
Actual version tested with:
- MediaPortal 1.0.1
- Firefox 3.0.10
- MultiShortcut Plugin 1.4
- Skins Blue3wide, Blue3wide Retro, Monochrome and Indigo
- iMon VFD remote receiver (MCE mode)

Control keys:
Standard keys:
[1],[2],[3],[4],[6],[7],[8],[9] ...Mouse cursor move to all directions
[5] ...Mouse click left
[0] ...Mouse click right
[F5] (Rewind) ...Firefox zoom out
[F6] (Fast Forward) ...Firefox zoom in
[x] (Full Screen) ...Firefox default zoom
[F7] (Play Previous/Ch+) ...Firefox previous page
[F8] (Play Next/Ch-) ...Firefox next page
[p] (Play) ...Firefox reload page
[b] (Stop) ...Firefox stop loading page
[Space] (Pause) ...Firefox start page
[y] (Show/Hide OSD) ...Firefox show/hide bookmarks
[r] (Record) ...Firefox add bookmark
[d] (DVD Menu) ...Toggle between SMS like text input and mouse control
[F3] (Info) ...Switch through all input modes
[h] (Home) ...Firefox minimize and go back to MediaPortal Home menue
[Esc], [Del], [Backspace] ...Firefox exit
SMS like text input keys:
[1] ..."." ":" "\" "-" "1"
[2] ..."a" "b" "c" "2"
[3] ..."d" "e" "f" "3"
[4] ..."g" "h" "i" "4"
[5] ..."j" "k" "l" "5"
[6] ..."m" "n" "o" "6"
[7] ..."p" "q" "r" "s" "7"
[8] ..."t" "u" "v" "8"
[9] ..."w" "x" "y" "z" "9"
[0] ..." " "Backspace" "0"

What's new:

- Added new key command [F3] "Info" to switch through all input modes.
- New input mode created: "Keyboard input" mode.
In this mode all shortcuts are deactivated, except of F3, F5, F6, F7, F8 and Esc!
 

juli13

Staff member
Administrator
Messages
10,198
04.09.2009

Installation

Just run MPWebBrowser-v05.MPE1 and install
In case you get the "File not found: microsoft.mshtml.dll" error (This error occurs mainly on a nLited WindowsXP) download this file: microsoft.mshtml.rar and copy it to your MediaPortal folder.

How to use (for users)

Zooming in browser window:
Remote: Use your Channel Up and Channel Down buttons on your remote
Keyboard: Use the Page Up and Page Down keys

Scroll up/down/left/right in browser window: Use your down/up/left/right arrow keys on your remote or keyboard


Changelog

Version v0.5 (04.09.2009):
[+] First release
[+] Added possibility to enter a new url
[+] Added property #webbrowser.link which holds the link to that the browser should surf, when browser was opened (I hate my english )
[+] Added property #webbrowser.linkzoom which holds the zooming level (e.g. 110 for 110% zoom) for the startpage entered in #webbrowser.link
[*] Changed zooming keys to PageUp and PageDown keys on keyboard and to ChannelUp and ChannelDown keys on remote
[*] Much webbrowser bugfixes and improvements
This plugin is based on the old browser part in the InfoService plugin
 

juli13

Staff member
Administrator
Messages
10,198
FirefoxIntegrator_1.5

09.02.2010

V1.5

- Display characters at SMS like text input.
- Timer at SMS like text input will be reloaded at every keystroke, key input time changed from 1700 to 1200ms.
- Characters for key 1 SMS like text input changed.
- Keywords AND, OR and NOT added to SMS like text input keys 2 and 6.
- Startup of Firefox changed, because fullscreen command (F11) sometimes was not received by Firefox.
 
Status
Not open for further replies.
Top