Re: HTML link over video

"Jacob, Christoph" <[email protected]> Tue, 11 Jun 2013 16:49:55 +0200
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <0B21C94761C3D14A9990D936E2B90B1202A93E2B8A1D@EXCHANGE11.charite.de>
--===============0233091829188456753==
Content-Language: de-DE
Content-Type: multipart/alternative;
	boundary="_000_0B21C94761C3D14A9990D936E2B90B1202A93E2B8A1DEXCHANGE11c_"

--_000_0B21C94761C3D14A9990D936E2B90B1202A93E2B8A1DEXCHANGE11c_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Kevin,

thank you for your quick answer. Unfortunately it is a requirement to use t=
he old mplayerplug-in. In worst case we must change the requirement ;-)

Chris

Von: Kevin DeKorte [mailto:[email protected]]
Gesendet: Dienstag, 11. Juni 2013 16:40
An: mplayerplug-in developers
Cc: Tekin, Fatih ([email protected])
Betreff: Re: [Mplayerplug-in-devel] HTML link over video


Christoph,

Mplayerplug-in does not support may JavaScript methods. However, gecko-medi=
aplayer 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" <[email protected]<mai=
lto:[email protected]>> 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=3D"javascript" type=3D"text/javascript">

function btntest_onclick()
{
    window.location.href =3D "http://www.google.com";
}

</script>

<html>
...
                                               <embed src=3D"test640.mjpeg"=
 align=3D"middle" width=3D"640" height=3D"480" type=3D"video/mpeg" onclick=
=3D"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
[email protected]<mailto:Mplayerplug-in-devel@list=
s.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel

--_000_0B21C94761C3D14A9990D936E2B90B1202A93E2B8A1DEXCHANGE11c_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV=3D"Content-Type" CONTENT=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.E-MailFormatvorlage18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DDE link=3Dblue vlink=
=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span style=3D'fon=
t-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Kevin,<o=
:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:11.0pt;fo=
nt-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p=
><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:11.0pt;font-fam=
ily:"Calibri","sans-serif";color:#1F497D'>thank you for your quick answer. =
Unfortunately it is a requirement to use the old mplayerplug-in. In worst c=
ase we must change the requirement ;-)<o:p></o:p></span></p><p class=3DMsoN=
ormal><span lang=3DEN-US style=3D'font-size:11.0pt;font-family:"Calibri","s=
ans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal>=
<span lang=3DEN-US style=3D'font-size:11.0pt;font-family:"Calibri","sans-se=
rif";color:#1F497D'>Chris <o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";c=
olor:#1F497D'><o:p>&nbsp;</o:p></span></p><div style=3D'border:none;border-=
left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style=3D'border:=
none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=3DM=
soNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-seri=
f"'>Von:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sa=
ns-serif"'> Kevin DeKorte [mailto:[email protected]] <br><b>Gesendet:</b> =
Dienstag, 11. Juni 2013 16:40<br><b>An:</b> mplayerplug-in developers<br><b=
>Cc:</b> Tekin, Fatih ([email protected])<br><b>Betreff:</b> Re: [Mp=
layerplug-in-devel] HTML link over video<o:p></o:p></span></p></div></div><=
p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p>Christoph,<o:p></o:p></p><p>Mpl=
ayerplug-in does not support may JavaScript methods. However, gecko-mediapl=
ayer does. So you may want to use that plugin instead.<o:p></o:p></p><p>Gec=
ko-mediaplayer is the enhanced version of mplayerplug-in.<o:p></o:p></p><p>=
Kevin<o:p></o:p></p><div><p class=3DMsoNormal>On Jun 11, 2013 8:34 AM, &quo=
t;Jacob, Christoph&quot; &lt;<a href=3D"mailto:[email protected]">=
[email protected]</a>&gt; wrote:<o:p></o:p></p><div><div><p class=
=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>H=
i !<o:p></o:p></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso=
-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=3DMsoNormal style=3D=
'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US>I h=
ave a little question: Is it possible to have a HTML link over the video, s=
o that when the user click on the video, a new HTML page is loaded?</span><=
o:p></o:p></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-mar=
gin-bottom-alt:auto'><span lang=3DEN-US>&nbsp;</span><o:p></o:p></p><p clas=
s=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>=
<span lang=3DEN-US>I have tried the following but with no success:</span><o=
:p></o:p></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-marg=
in-bottom-alt:auto'><span lang=3DEN-US>&nbsp;</span><o:p></o:p></p><p class=
=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><=
span lang=3DEN-US>&lt;script language=3D&quot;javascript&quot; type=3D&quot=
;text/javascript&quot;&gt;</span><o:p></o:p></p><p class=3DMsoNormal style=
=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US>=
&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal style=3D'mso-margin-top-al=
t:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US>function btntest_oncl=
ick() </span><o:p></o:p></p><p class=3DMsoNormal style=3D'mso-margin-top-al=
t:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US>{</span><o:p></o:p></=
p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto'><span lang=3DEN-US>&nbsp;&nbsp;&nbsp; window.location.href =3D &qu=
ot;<a href=3D"http://www.google.com" target=3D"_blank">http://www.google.co=
m</a>&quot;;</span><o:p></o:p></p><p class=3DMsoNormal style=3D'mso-margin-=
top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US>}</span><o:p></=
o:p></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bo=
ttom-alt:auto'><span lang=3DEN-US>&nbsp;</span><o:p></o:p></p><p class=3DMs=
oNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN-US>&lt;/script&gt;</span><o:p></o:p></p><p class=3DMsoNormal styl=
e=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US=
>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal style=3D'mso-margin-top-a=
lt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US>&lt;html&gt;</span><=
o:p></o:p></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-mar=
gin-bottom-alt:auto'><span lang=3DEN-US>&#8230;</span><o:p></o:p></p><p cla=
ss=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'=
><span lang=3DEN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt=
;embed src=3D&quot;test640.mjpeg&quot; align=3D&quot;middle&quot; width=3D&=
quot;640&quot; height=3D&quot;480&quot; type=3D&quot;video/mpeg&quot; oncli=
ck=3D&quot;return btntest_onclick()&quot;&gt;</span><o:p></o:p></p><p class=
=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><=
span lang=3DEN-US>&#8230;</span><o:p></o:p></p><p class=3DMsoNormal style=
=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US>=
&lt;/html&gt;</span><o:p></o:p></p><p class=3DMsoNormal style=3D'mso-margin=
-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN-US>&nbsp;</span><=
o:p></o:p></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-mar=
gin-bottom-alt:auto'><span lang=3DEN-US>Thanks for your support.</span><o:p=
></o:p></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin=
-bottom-alt:auto'><span lang=3DEN-US>Chris</span><o:p></o:p></p></div></div=
><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><br>------------------=
------------------------------------------------------------<br>This SF.net=
 email is sponsored by Windows:<br><br>Build for Windows Store.<br><br><a h=
ref=3D"http://p.sf.net/sfu/windows-dev2dev" target=3D"_blank">http://p.sf.n=
et/sfu/windows-dev2dev</a><br>_____________________________________________=
__<br>Mplayerplug-in-devel mailing list<br><a href=3D"mailto:Mplayerplug-in=
[email protected]">[email protected]</a=
><br><a href=3D"https://lists.sourceforge.net/lists/listinfo/mplayerplug-in=
-devel" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/mpla=
yerplug-in-devel</a><o:p></o:p></p></div></div></div></body></html>=

--_000_0B21C94761C3D14A9990D936E2B90B1202A93E2B8A1DEXCHANGE11c_--


--===============0233091829188456753==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
--===============0233091829188456753==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mplayerplug-in-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel

--===============0233091829188456753==--