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. 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.
Does Plex support these kind of events?
Regards
Hello JanMan!
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).
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:
<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 />
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).
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
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.