Christoph,

Mplayerplug-in does not support may JavaScript methods. However, gecko-mediaplayer does. So you may want to use that plugin instead.

Gecko-mediaplayer is the enhanced version of mplayerplug-in.

Kevin

On Jun 11, 2013 8:34 AM, "Jacob, Christoph" <Christoph.Jacob@charite.de> wrote:

Hi !

I have a little question: Is it possible to have a HTML link over the video, so that when the user click on the video, a new HTML page is loaded?

I have tried the following but with no success:

<script language="javascript" type="text/javascript">

function btntest_onclick()

{

window.location.href = "http://www.google.com";

}

</script>

<html>

<embed src="test640.mjpeg" align="middle" width="640" height="480" type="video/mpeg" onclick="return btntest_onclick()">

</html>

Thanks for your support.

Chris


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Mplayerplug-in-devel mailing list
Mplayerplug-in-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel