[Laszlo-dev] showing first frame of video (API feedback request)
Sarah Allen
sarah at ultrasaurus.com
Thu Mar 12 13:14:53 PDT 2009
cross-posting since I think folks on this list don't always read the
forums...
Hi folks,
I was going to use the (sadly undocumented) videoplayer component in
an app I'm building and noticed that it doesn't display the first
frame of the video which is the behavior I was looking for.
Furthermore, I noticed that that wasn't really enabled by the
mediastream API.
I've made a change (on my local code) so that stream.seek(0) will
display the first frame of an http stream if it isn't playing, which
is what I expected it to do. I was thinking of also adding a flag to
videoview and videoplayer to do the same thing. So you could say
something like:
<videoplayer
url="http://www.mediacollege.com/video-gallery/testclips/20051210-w50s.flv
"
showfirstframe="true"
width="320" height="240"/>
or something like that. It wouldn't do anything if autoplay="true" --
I'm not crazy about having a billion flags, but I want to enable the
behavior.
Any feedback?
Please reply on the forum:
http://forum.openlaszlo.org/showthread.php?p=42950#post42950
Thanks,
Sarah
More information about the Laszlo-dev
mailing list