I have been working on a ESPN plugin and so far I have gotten just about everything working correctly except for the Site Config XML. I can’t get full-screen and play/pause buttons to work. Here is what I have as of now:
<?xml version="1.0" encoding="UTF-8"?><br />
<site site="espn\.go\.com/watchespn/player/_/id/.*"<br />
plugin="espn\.go\.com/watchespn/player\.swf"<br />
initialState="init"<br />
version="2.0"><br />
<br />
<crop x="0" y="0" width="0" height="0" /><br />
<br />
<state name="init"><br />
<event><br />
<condition><br />
<frameLoaded /><br />
</condition><br />
<action><br />
<pause time="40000" /><br />
<move x="100" y="100" /><br />
<pause time="2000" /><br />
<click x="750" y="416" /><br />
<goto state="playing"/><br />
</action><br />
</event><br />
</state><br />
<br />
<!-- PLAYING --><br />
<state name="playing"><br />
<event><br />
<condition><br />
<command name="pause" /><br />
</condition><br />
<action><br />
<move x="100" y="100" /><br />
<pause time="2000" /><br />
<click x="16" y="416" /><br />
<goto state="paused" /><br />
</action><br />
</event><br />
</state><br />
<br />
<!-- PAUSED --><br />
<state name="paused"><br />
<event><br />
<condition><br />
<command name="play" /><br />
</condition><br />
<action><br />
<move x="100" y="100" /><br />
<pause time="2000" /><br />
<click x="16" y="416" /><br />
<goto state="playing" /><br />
</action><br />
</event><br />
</state><br />
<br />
</site>
I have defined the actual height and width of the SWF file but it seems as thought he coordinates I specify for the 3 buttons are not being respected. Also, the video itself is extremely grainy. Its as if PLEX is taking the 768x432 video and zooming in really far. Is there something I am missing? Any help would be appreciated.
Updated: I am adding my updated Site Config. The pause time is working as expected and the move commands do as well. I still can't figure out how to get the clicks to work.