home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Flash Player Plugin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Anonymous" data-source="post: 18317"><p>Im trying to implement a Flash player plugin in mediaportal through the IPlayer interface but from the looks of the interface and the PlayerFactory there doesnt seem to be a way to add a player for a specific extension, IExternalPlayer seems like what I want unfortunally it only supports audio (as I was able to tell) is there any interface for implementing an external video player, I know I could write it as a DShow source filter and it would play, but I think I wont be able to send commands specific to flash as some movies require you to click a certian spot to start/etc, is there any sort of setup for implementing an external video player?</p><p></p><p>I have one Idea, not sure if it will work, from the looks of the PlayerFactory class it check for an external player first and if found will use the IExternalPlayer, which is a derived class of IPlayer, and IPlayer returns false for HasVideo by default so if I implement IExternalPlayer I should be able to override HasVideo and the other memebers of IPlayer in order to have an external video player, or maybe both IExternalPlayer and IPlayer, not too familier with OOP (I come from a native c++ background) so im not sure what the virtual property of IPlayer means if it will prevent me from overriding memebrs of IPlayer from a derived IExternalPlayer or not, I think it just means that its not a real function and must be overridden?? I think thats what responsible for make the intellisense tab thing that GUIWindow and ISetupForm implement so it automatically gives you members to fill in the code for?? does this seem like it will work? I would really like to get flash support but dont really want to code all browsing, thumbnail caching, custom views, etc to implement it as a plugin, also as a plugin it wont have that cool little window playing the flash when your browsing the menus</p></blockquote><p></p>
[QUOTE="Anonymous, post: 18317"] Im trying to implement a Flash player plugin in mediaportal through the IPlayer interface but from the looks of the interface and the PlayerFactory there doesnt seem to be a way to add a player for a specific extension, IExternalPlayer seems like what I want unfortunally it only supports audio (as I was able to tell) is there any interface for implementing an external video player, I know I could write it as a DShow source filter and it would play, but I think I wont be able to send commands specific to flash as some movies require you to click a certian spot to start/etc, is there any sort of setup for implementing an external video player? I have one Idea, not sure if it will work, from the looks of the PlayerFactory class it check for an external player first and if found will use the IExternalPlayer, which is a derived class of IPlayer, and IPlayer returns false for HasVideo by default so if I implement IExternalPlayer I should be able to override HasVideo and the other memebers of IPlayer in order to have an external video player, or maybe both IExternalPlayer and IPlayer, not too familier with OOP (I come from a native c++ background) so im not sure what the virtual property of IPlayer means if it will prevent me from overriding memebrs of IPlayer from a derived IExternalPlayer or not, I think it just means that its not a real function and must be overridden?? I think thats what responsible for make the intellisense tab thing that GUIWindow and ISetupForm implement so it automatically gives you members to fill in the code for?? does this seem like it will work? I would really like to get flash support but dont really want to code all browsing, thumbnail caching, custom views, etc to implement it as a plugin, also as a plugin it wont have that cool little window playing the flash when your browsing the menus [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Flash Player Plugin
Contact us
RSS
Top
Bottom