# Site Configuration Help

**URL:** <https://forums.plex.tv/t/site-configuration-help/27875>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [January 26, 2013, 4:20am UTC](https://forums.plex.tv/t/site-configuration-help/27875 "2013-01-26T04:20:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwdempsey](https://avatars.discourse-cdn.com/v4/letter/j/9fc348/32.png) [@jwdempsey](https://forums.plex.tv/u/jwdempsey)\
**Post date:** [January 26, 2013, 4:20am UTC](https://forums.plex.tv/t/site-configuration-help/27875/1 "2013-01-26T04:20:46Z")

</div>

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:

```auto

<?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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 10:48pm UTC](https://forums.plex.tv/t/site-configuration-help/27875/2 "2019-12-20T22:48:23Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
