Hi,
I was wanting to write a plugin for http://freecaster.tv/ and I’ve been looking at the source for various existing plugins but I’m still not clear on the need for a site configuration file. Reading the wiki suggests one is needed for all flash based sites (which freecaster is) but I can’t find one under the plugins for hulu or mtv which are both flash based (I think).
So, just some clarification of what’s actually needed before I dive in.
thanks
Jonny
Site configurations are contained in a separate bundle (to allow us to separate the player logic from the plug-ins themselves). Look inside SiteConfigurations.bundle for some examples (the Hulu one is encrypted, but all the others are plain text). You can put your own in “~/Library/Application Support/Plex Media Server/Site Configurations” while you’re developing 
Hi Jonny,
great to hear more folks coming to the plug-in dev world.
I just did my first FLASH plugin … once you get a feel for what a siteconfig really does … its very simple.
Take a look at the one I did … I tried to put in some comments: RTL-Now
The way I understand it … the PMS get fed a few “states” through a siteconfig file.
The result is that PMS will understand your FLASH window … it will know when a video is playing … when one is paused … when one is ended.
With the correct siteconfig … it will also know how to SEEK (FF etc.)
That’s it … there is no real LOGIC inside the XML … just a few DEF of how to “know” what state the FLASH window is in.
So first you have to define HOW BIG the FLASH windows is … then you define where to look for certain characteristics (e.g. colors) to define each state (e.g. the START / STOP button will have different colored pixel depending of its state) … you define the seek bar etc. etc. … the WIKI is not too bad … once you understand the basic workings of a siteconfig file.
Good luck & happy coding.
Robert
Thanks for the replies. I’ll give it a go over the weekend.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.