[Swfdec] How to implement seek function with swfdecplayer
Benjamin Otte
otte at gnome.org
Mon Aug 20 23:51:55 PDT 2007
On 8/20/07, malicksarr at voila.fr <malicksarr at voila.fr> wrote:
>
> I have already written a flash player with swfdecplayer. I want to add new functionnalities like seek function and pause. Can I have a pointer about this.
>
Hi there, cool that there is people that use Swfdec. :)
A pause feature is easy. SwfdecGtkPlayer has the
swfdec_gtk_player_set_playing () function. And for the normal player,
you just don't call swfdec_player_advance() when paused.
However, seeking is not possible. Flash is pretty much the same as a
web page, just with nicer Graphics.And you can't seek in Firefox
either.
Unless you were talking of stopping and seeking a video that you play
back. In that case, you'll have to create a Flash file that provides
this functionality and use it within your player to play the video.
But be careful if you want to make this work in Swfdec: not every
Flash function is impleented yet. But we're working on it.
Cheers,
Benjamin
More information about the Swfdec
mailing list