Hi all,
I'm having a weird problem with the Videoplayer plugin:
I'm using it as a plugin, so I can use it on the center of the screen to play some videos that are triggered by some hotspots.
I've created 2 actions to hide/show the video area:
Code
<action name="showVideoPlayer">
set(plugin[videoplayer].enabled,TRUE);
set(plugin[videoplayer].alpha,1);
plugin[videoplayer].playvideo(%1);
</action>
<action name="hideVideoPlayer">
set(plugin[videoplayer].enabled,FALSE);
set(plugin[videoplayer].alpha,0);
plugin[videoplayer].closevideo();
</action>
As you see, I'm using the alpha paramenter to show/hide the video (maybe it's not the best option, any suggestions?) and everything runs well the first time you show and hide the video. The problem is after hiding it, if I try to show it again I get the video area with a frame of the video and a smaller instance running on the top left corner of that window.
Why is that? Anyone with the same problem?
Thanks,