Bug 15462

Summary: Need some way to detect end of swf playback
Product: swfdec Reporter: Paul Burton <paulburton89>
Component: libraryAssignee: swfdec ml <swfdec>
Status: NEW --- QA Contact: swfdec ml <swfdec>
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Example file

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.