# Site Configuration handling Mouseover events stuff

**URL:** https://forums.plex.tv/t/site-configuration-handling-mouseover-events-stuff/3885
**Category:** Dev/API Corner
**Tags:** plugin-dev
**Created:** [April 6, 2010, 5:42am UTC](https://forums.plex.tv/t/site-configuration-handling-mouseover-events-stuff/3885 "2010-04-06T05:42:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![JanMan](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@JanMan](https://forums.plex.tv/u/JanMan)
#### Post date: [April 6, 2010, 5:42am UTC](https://forums.plex.tv/t/site-configuration-handling-mouseover-events-stuff/3885/1 "2010-04-06T05:42:26Z")

</div>

Hi all  
  
  
  
I have a brief Site Configuration File question.  
  
  
  
The site I’m attempting to write a config file for is [channel.nationalgeographic.com](http://channel.nationalgeographic.com). There the video player looks different depending on whether the mouse is over the video or not, i.e., it **auto-hides** the seek bar at the bottom of the video. Also, the color of the pause depends on whether the mouse is over it or not.  
  
  
  
Check it out at e.g. [this link](http://channel.nationalgeographic.com/channel/videos/player.html?channel=60850&category=60664&title=6658).  
  
  
  
Does Plex support these kind of events?  
  
  
  
Regards

---

<div class="post-metadata">

### Author: ![sander1](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sander1](https://forums.plex.tv/u/sander1)
#### Post date: [April 6, 2010, 1:08pm UTC](https://forums.plex.tv/t/site-configuration-handling-mouseover-events-stuff/3885/2 "2010-04-06T13:08:31Z")

</div>

Hello JanMan!

> [@](#):
>
> The site I'm attempting to write a config file for is channel.nationalgeographic.com. There the video player looks different depending on whether the mouse is over the video or not, i.e., it \*\*auto-hides\*\* the seek bar at the bottom of the video.

  
Videoplayers that hide their controls are a pain and I'm almost certain that with the current available Site Config options you're not going to get forward/rewind to work I'm afraid :( (the player doesn't 'see' the mouse cursor hovering over it).  
  

> [@](#):
>
> Also, the color of the pause depends on whether the mouse is over it or not.

  
A button changing color on mouseover shouldn't be a problem, since you only need to enter click coordinates. The NGC videoplayer also supports play/pause actions when you click anywhere on the video, so pausing the video can be done by clicking at (10,10) for example:  

```auto

<br />
	<!-- Playing --><br />
	<state name="playing"><br />
		<event><br />
			<condition><br />
				<command name="pause" /><br />
			</condition><br />
			<action><br />
				<click x="10" y="10" /><br />
				<goto state="paused" /><br />
			</action><br />
		</event><br />
<br />
		...<br />

```

---

<div class="post-metadata">

### Author: ![sander1](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sander1](https://forums.plex.tv/u/sander1)
#### Post date: [April 6, 2010, 1:32pm UTC](https://forums.plex.tv/t/site-configuration-handling-mouseover-events-stuff/3885/3 "2010-04-06T13:32:54Z")

</div>

I looked at the player again: it does show a small progressbar at the bottom when the mouse isn’t positioned over the player. I’m not sure if this is a functional progressbar, but if it is, maybe you can use that one in your Site Config (instead of the one in the “full” controls).

[http://img9.imageshack.us/img9/2482/ngcplayer.jpg](http://img9.imageshack.us/img9/2482/ngcplayer.jpg)

---

<div class="post-metadata">

### Author: ![JanMan](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@JanMan](https://forums.plex.tv/u/JanMan)
#### Post date: [April 7, 2010, 1:26am UTC](https://forums.plex.tv/t/site-configuration-handling-mouseover-events-stuff/3885/4 "2010-04-07T01:26:52Z")

</div>

sander1  
  
  
  
Thanks again for your help. It helps to know that the played video will be displayed basically as if now mouse is over it.  
  
  
  
Regards

---

<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, 8:38pm UTC](https://forums.plex.tv/t/site-configuration-handling-mouseover-events-stuff/3885/5 "2019-12-20T20:38:10Z")

</div>

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