Hi folks,
I'm trying to port the browsetheweb plugin to mediaportal 2, and I must admit, it's a bit more challenging than I thought.
Did do a lot of reading on the subject, but none of it was able to answer the specific questions I'm facing.
So I'm calling in to see if anyone will nudge me in the right direction, or help me out with smaller or larger issues I encounter.
First thing that's bugging me, is that I don't really know what's the preferred way of putting a winforms component (the GeckoWebBrowser) on a screen in MP2.
2 options are available:
1: is to somehow put that component in the xaml, but that might have the disadvantage of getting created too soon (ie before config is available, or perhaps being unnecessarily created), but advantage seems to be that it's resized automatically according to clientwindow size
2: is to dynamically create the GeckoWebBrowser on plugin entry, but then I don't know how to get it's current size and position, nor do I know (yet) if resizing occurred
Once that is working, I think I have some more questions (f.e. how to work with the statusbar in BrowseTheWeb), but I'll be glad if the first one is solved.
I have vs2013 Community edition, but I'm not able to open the xaml files without error messages (Invalid markup, several identifiers missing in namespace, f.e. The name "Include" does not exist in the namespace "www.team-mediaportal.com/2008/mpf/directx". )
Is this because the xaml's are customized to fit the skinengine, or am I missing some crucial piece of software?
Paul
I'm trying to port the browsetheweb plugin to mediaportal 2, and I must admit, it's a bit more challenging than I thought.
Did do a lot of reading on the subject, but none of it was able to answer the specific questions I'm facing.
So I'm calling in to see if anyone will nudge me in the right direction, or help me out with smaller or larger issues I encounter.
First thing that's bugging me, is that I don't really know what's the preferred way of putting a winforms component (the GeckoWebBrowser) on a screen in MP2.
2 options are available:
1: is to somehow put that component in the xaml, but that might have the disadvantage of getting created too soon (ie before config is available, or perhaps being unnecessarily created), but advantage seems to be that it's resized automatically according to clientwindow size
2: is to dynamically create the GeckoWebBrowser on plugin entry, but then I don't know how to get it's current size and position, nor do I know (yet) if resizing occurred
Once that is working, I think I have some more questions (f.e. how to work with the statusbar in BrowseTheWeb), but I'll be glad if the first one is solved.
I have vs2013 Community edition, but I'm not able to open the xaml files without error messages (Invalid markup, several identifiers missing in namespace, f.e. The name "Include" does not exist in the namespace "www.team-mediaportal.com/2008/mpf/directx". )
Is this because the xaml's are customized to fit the skinengine, or am I missing some crucial piece of software?
Paul