> > i would like to implement an exit point in the parser that, in case > unimplemented features are detected, scans the file/the parameters > supplied to the object for flvs(and possibly other media files) in > order to hand them off to a simple gstreamer based player(which could > be lifted from either the html5 video/audio tag implementation in > gecko or webkit or the totem mozilla plugin)
It would be possible to instruct the parser to throw an exception containing some information about what is unimplemented under certain circumstances. That would at least be an exit point. Unfortunately it's not so easy to do anything with it because the plugin (which should handle that) still does a fork-and-exec, so getting the information back isn't so easy. I'm also not sure how you want to get hold of the video URL consistently. Flash videos (e.g. youtube) often rely on actionscript interpretation to create the URL needed, and the parser doesn't do any of that. Neither is there an obvious way to work out which of the many network connections requested is the video you want to watch. The parameters passed to the SWF may be enough in some cases. Note that the plugin has access to them. In the end though, some kind of browser plugin that never even starts gnash may be a better way of doing this. bwy -- The current release of Gnash is 0.8.6 http://www.gnu.org/software/gnash/ Benjamin Wolsey, Software Developer - http://benjaminwolsey.de
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

