OSMFPlayer and Streaming Plugin
In order to load my Streaming Plugin into the OSMFPlayer I could not use the DefaultMediaFactory. When I did I was unable to load the plugin before it because you need a media factory to load the plugin. I was also unable to load it after because, although it loaded successful, it was not being used.
I had to create my own MediaFactory class that did not call init on the constructor. I would load the plugin after intatiating the media factory and then load the plugin. Once the Plugin was loaded I call init, which I have made public, on the media factory. The player will then use the plug-in I have loaded.
This seems convoluted. What am I doing wrong here?
Should I even be customizing the OSMFPlayer of just extending it or building off of it to make my own player
Thanks in advance for the help all,
In the public trunk, we've made PluginManager non-public and now have media creation and plugin loading funneled through MediaFactory. So although I don't fully understand your problem, I suspect it won't be present in the latest code. Let us know how it goes if/when you upgrade.
Yeah that would pretty much eliminate the issue I'm have.