Bug 15462 - Need some way to detect end of swf playback
Summary: Need some way to detect end of swf playback
Status: NEW
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: swfdec ml
QA Contact: swfdec ml
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-11 15:38 UTC by Paul Burton
Modified: 2008-05-22 06:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Example file (85.74 KB, application/x-shockwave-flash)
2008-04-11 15:48 UTC, Paul Burton
Details

Description Paul Burton 2008-04-11 15:38:28 UTC
Some method is needed to detect the end of playback of an swf file, perhaps a new signal on SwfdecPlayer. This is useful mostly for apps embedding swfdec to playback flash content, for example an MSN client implementing winks.
Comment 1 Paul Burton 2008-04-11 15:48:04 UTC
Created attachment 15843 [details]
Example file

An MSN wink as requested on IRC
Comment 2 Álvaro J. Iradier 2008-05-22 06:02:30 UTC
I think this is a very important feature, and shouldn't be that hard to do. For example, API docs say that player_get_next_event() should return -1 if file is finished, but it won't, so flash clip keeps playing on a constant loop.
Comment 3 Benjamin Otte 2008-05-22 06:59:15 UTC
Oh, someone is implementing wink support for amsn. :)
Paul said that winks send the quit fscommand when they are finished, so it should be already possible to properly stop playing them by connecting to the fscommand signal on the SwfdecPlayer. At least I haven't heard back from him about this.

If there's indeed files that require to check looping behavior, we first need to figure out what looping means and then we can implement it. For figuring that out, we need URLs or attachments of some files that exhibit this problem though.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.