On Tuesday 23 August 2005 09:17 am, emilianoz wrote:
> Hi everybody.
> I have an html page with two videos embedded on it,
> I would like to know how can I see the first frame of the video instead of
> the grey visualization box.
> Is it possible to do it with mplayerplug-in?
> Thank you for your answers
> emi
>
>
If you use the current CVS you can do this... it is a hack, but should work=
,=20
but I have not tested it. My initial guess is that it will not work when th=
e=20
files are the same. This should also work with QuickTime, so it is a nice=20
standard way of doing this.
<embed type=3D"application/x-mplayer2" src=3D"link to video" href=3D"link t=
o video"=20
width=3D500 height=3D350>
Here is what it should do
download the video specified in src and get the first frame and turn it int=
o a=20
button. Then when the frame is clicked on. It will play the video in href.=
=20
I created this function for the Apple Trailers sites like the one for=20
"Magnificent Desolation". It is still a work in progress, but seems to work=
=20
pretty well.=20
I would actually recommend creating a very small file for src and then the=
=20
larger file for href.
There is some enhancement work that could be done here.=20
Such as an attribute called "makebutton" or something like that where it do=
es=20
this for the src file and so the href link would not be needed.
Could also do something like the src is a gif or jpeg file and it is just=20
loaded into the button. Don't have this coded up either.
Kevin
=2D-=20
Get my public GnuPG key from
http://keyserver.veridis.com:11371/export?id=3D7574690260641978351
|