HTML link over video
"Jacob, Christoph" <[email protected]> Tue, 11 Jun 2013 16:35:25 +0200
| Newsgroups | gmane.comp.mozilla.mplayerplug-in |
|---|---|
| Message-ID | <0B21C94761C3D14A9990D936E2B90B1202A93E2B8A15@EXCHANGE11.charite.de> |
--===============8658675981073341920==
Content-Language: de-DE
Content-Type: multipart/alternative;
boundary="_000_0B21C94761C3D14A9990D936E2B90B1202A93E2B8A15EXCHANGE11c_"
--_000_0B21C94761C3D14A9990D936E2B90B1202A93E2B8A15EXCHANGE11c_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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
--_000_0B21C94761C3D14A9990D936E2B90B1202A93E2B8A15EXCHANGE11c_
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=3DContent-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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
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;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
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>Hi !<o:p></o:p></p=
><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal><span lang=
=3DEN-US>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 loa=
ded?<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbs=
p;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>I have tried the=
following but with no success:<o:p></o:p></span></p><p class=3DMsoNormal><=
span lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span la=
ng=3DEN-US><script language=3D"javascript" type=3D"text/j=
avascript"><o:p></o:p></span></p><p class=3DMsoNormal><span lang=3D=
EN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>f=
unction btntest_onclick() <o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>{<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US=
> window.location.href =3D "http://www.google.com&qu=
ot;;<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>}<o:p></o=
:p></span></p><p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></sp=
an></p><p class=3DMsoNormal><span lang=3DEN-US></script><o:p></o:p></=
span></p><p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></=
p><p class=3DMsoNormal><span lang=3DEN-US><html><o:p></o:p></span></p=
><p class=3DMsoNormal><span lang=3DEN-US>…<o:p></o:p></span></p><p cl=
ass=3DMsoNormal><span lang=3DEN-US> &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; <embed src=3D"test640.mjpeg" align=3D"middle&=
quot; width=3D"640" height=3D"480" type=3D"video/m=
peg" onclick=3D"return btntest_onclick()"><o:p></o:p></sp=
an></p><p class=3DMsoNormal><span lang=3DEN-US>…<o:p></o:p></span></p=
><p class=3DMsoNormal><span lang=3DEN-US></html><o:p></o:p></span></p=
><p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p cla=
ss=3DMsoNormal><span lang=3DEN-US>Thanks for your support.<o:p></o:p></span=
></p><p class=3DMsoNormal><span lang=3DEN-US>Chris<o:p></o:p></span></p></d=
iv></body></html>=
--_000_0B21C94761C3D14A9990D936E2B90B1202A93E2B8A15EXCHANGE11c_--
--===============8658675981073341920==
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
--===============8658675981073341920==
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
--===============8658675981073341920==--