[Plugin] Opera Mobile Launcher (Web Browser)

Discussion in 'MediaPortal 1 Plugins' started by Dragy, October 24, 2011.

  1. Dragy

    Dragy Portal Pro

    Joined:
    April 27, 2009
    Messages:
    778
    Likes Received:
    303
    Gender:
    Male
    Occupation:
    Student
    Ratings:
    +332 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Opera Mobile Launcher for MediaPortal

    I made this little plugin to launch - the perfectly suitable web browser for HTPC's - Opera Mobile Emulator. It does not only launch Opera Mobile, but it also add's functionality so other plugins can communicate with Opera Mobile.


    Installation
    MEDIAPORTAL - Opera Mobile Launcher (Web Browser)

    Or use the manual method:
    1. Download and install Opera Mobile Emulator
    2. Download Opera Mobile Launcher 0.3 beta
    3. Copy the dll file to your [MPInstall]/plugins/Windows/ directory
    4. Open MP Configuration and configure the plugin
    TEST VERSION IN THIS POST: https://forum.team-mediaportal.com/...auncher-web-browser.101889/page-4#post-860680

    Usage

    After starting Opera Mobile Emulator, you can use the F1 and F2 keys for the two buttons at the bottom. The arrow keys let you controll the mouse and Enter is select/click. The numpad may be used for typing in T9 style.

    When you use button forwarding:
    "Info" button as F1
    "Rewind" button as F2
    "ChannelUp" and "ChannelDown" buttons as fast scroll up/down
    T9 typing with the numerical buttons

    When NOT using button forwarding:
    Use keyboard, or use an external app, like EventGhost, and map your remote's button something like this:
    Info - F1
    PreviousTrack - F2
    OK (click / select) - Enter
    Back - {close browser}
    ChannelUp (scroll up) - Numpad 8
    ChannelDown (scroll down) - Numpad 2

    Other plugins can open an url by using the #browserlink as tag and 156778 as window. Use it for Infoservice for instance.

    Screenshots


    Changelog
    0.3 beta (28-10-2011)
    - [new function] Forward standard MediaPortal actions (remote keypresses) to Opera Mobile, so you don't necessarily have to remap your remote buttons.
    - Minor changes



    0.2 beta (24-10-2011)
    - [new function] Add option to use custom UserAgent and use desktop profile
    - Minor changes

    0.1 beta (24-10-2011)
    - Initial release
     
    Last edited: April 17, 2012
    • Like Like x 4
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Dragy

    Dragy Portal Pro

    Joined:
    April 27, 2009
    Messages:
    778
    Likes Received:
    303
    Gender:
    Male
    Occupation:
    Student
    Ratings:
    +332 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    I found that there is an input.ini file for assigning keys to funcitons.. Maybe someone knows how it works and if it's possible to add keys from a MCE remote for instance to Opera functions? Then you won't need EventGhost/Girder/AutoHotKey/etc anymore. :)
     
  4. hulkhaugen

    hulkhaugen Portal Pro

    Joined:
    November 9, 2008
    Messages:
    450
    Likes Received:
    58
    Gender:
    Male
    Occupation:
    ROV Pilot
    Location:
    Arendal
    Ratings:
    +58 / 0
    Home Country:
    Norway Norway
    Show System Specs
    This looks very promesing. Will give it a try once i get the chance :) Would be cool to see this well integrated into MP...

    I assume this is for using the remote control to surf the web?
     
  5. powermarcel10
    • Team MediaPortal

    powermarcel10 Retired Team Member

    Joined:
    November 30, 2010
    Messages:
    2,839
    Likes Received:
    789
    Gender:
    Male
    Occupation:
    Callcenter Agent
    Location:
    Groningen
    Ratings:
    +1,028 / 4
    Home Country:
    Netherlands Netherlands
    Show System Specs
    WOW! This is a really nice plugin.. Good job!!

    Only a few questions/bugs

    -I can't zoom in and out with F7/F8
    -Is there a way to get opera mobile in Dutch?
    -When press escape I can't leave the plugin.
    -I would like to customize the buttons for my remote
    -Can't play flash while I have installed adobe flashplayer for opera mobile.. Any idea?

    Best regards!
     
  6. Dragy

    Dragy Portal Pro

    Joined:
    April 27, 2009
    Messages:
    778
    Likes Received:
    303
    Gender:
    Male
    Occupation:
    Student
    Ratings:
    +332 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Yes, you can type with the numpad in T9 style. This is default behavior for Opera Mobile :)

    - You can't zoom in/out with F7/F8.. I never mentioned that? :) You have to set the zoom setting in Opera to 200%. Now, when navigating, you zoom in when you press enter/click to that specific area.
    - There are some language strings in the locale-ri.rsc and the *.lng files, but I'm not sure if they can be edited (and if they actually do anything).
    - You need to close the browser by going back to speedial and press F2 for Exit and F1 for OK or by opening the Menu by pressing F1 and navigating to the close button. I added a command to Eventghost to close opera when I press the back key on my remote
    - You need an external app (like EventGhost, Girder, AutoHotkey) for assigning the F1, F2 keys etc to your remote buttons.
    - Nope, for some reason, Opera Mobile Emulator does not support flash :(

    Maybe there are people here who have some ideas about how to assign remote buttons to the OME functions.. by hacking this in.. and maybe it's possible to add Flash support in some way..
     
  7. thunder

    thunder Portal Pro

    Joined:
    February 1, 2007
    Messages:
    117
    Likes Received:
    4
    Ratings:
    +8 / 0
    Great plugin. But it starts for me on Screen 1. I need to start this on my second monitor as MP.
     
  8. powermarcel10
    • Team MediaPortal

    powermarcel10 Retired Team Member

    Joined:
    November 30, 2010
    Messages:
    2,839
    Likes Received:
    789
    Gender:
    Male
    Occupation:
    Callcenter Agent
    Location:
    Groningen
    Ratings:
    +1,028 / 4
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Thanks for your reply..

    This is by far the most smooth browser for Mediaportal, only the fact that there is no flash is really bad, and hope that someone can add this feature, or it will be aded in a later release..

    About the buttons, you said in the first post:

    Num8 - ChannelUp (scroll up)
    Num2 - ChannelDown (scroll down)

    In Mediaportal, F8 is scrol up, and F7 is channel down, so that's the reason I said that, but I understand now.. :)

    I didn't use eventghost before, so I hope I know what to do..
     
  9. Dragy

    Dragy Portal Pro

    Joined:
    April 27, 2009
    Messages:
    778
    Likes Received:
    303
    Gender:
    Male
    Occupation:
    Student
    Ratings:
    +332 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    I will see what I can do about it. Thanks.

    Okay sorry, maybe it is a little bit confusing.. But I assigned the ChannelUp/down OF MY REMOTE to those keys (num8/2) of the keyboard. The function in Opera is scroll up/down.
     
  10. Mr. V

    Mr. V Portal Pro

    Joined:
    September 15, 2007
    Messages:
    150
    Likes Received:
    82
    Location:
    Brisbane
    Ratings:
    +83 / 0
    Home Country:
    Looks great.

    Any thoughts on support for the new parameter and expression controls?
     
  11. Dragy

    Dragy Portal Pro

    Joined:
    April 27, 2009
    Messages:
    778
    Likes Received:
    303
    Gender:
    Male
    Occupation:
    Student
    Ratings:
    +332 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    I will look in to that Mr. V. Currently I'm busy with some pure awesomeness. I found a way to let MediaPortal pick up remote commands and forward them to the Opera Mobile window. In this way, the need for an external program which remaps buttons of your remote.. DISAPPEARS!
    I think I will have a test release ready this weekend... (although I have to learn some exams.. :confused:)
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!