On 07/01/2011 14:57, Anders Eriksson wrote: > Hi, > > Here's an rfc patch which adds basic html5 and flash player support. It's > modeled after the Video for Everybody page > http://camendesign.com/code/video_for_everybody. Even though that page > indicates that fallback to flash should happen automatically if the browser > doesn't support html5, my firefox fails to do that. To work around this I made > the selection explicit to the user. > > The flashplayer needs to be configured with the full URL of the file to play. > I > failed to find a good way to find that info in the code (nb. I run freewo > behind a forwarding https->http proxy, so it would have to take some client > side scripting to get at this info.) I solved this by adding a new config > parameter: > > WEBSERVER_URLROOT = "https://WHATEVER.net" > > The code could do with some cleaning up if we want to add it, but right now it > at least works as intended. Comments welcome. My python skills are close to > nil, so improvements in that area are welcome too. > > An improvement I want to do is to use the right poster image for the movies. I > guess that means either using the cover info from the fxd, or the thumbnail if > available. Any pointer to code showing how to do that would be appreciated. > > A futher improvement is to use the right width and height info. How do I get > at > that info? I guess I can get it from the file (using kaa.metadata, I guess), > but I have a fair amount of fxd's which points at mp4 files on the net and I > suspect there's support funtions in freevo for this already. Can an fxd host > that info? (I could pre-populate the fxd's with that info out of band if need > be). > > Anders Hi Anders,
This sounds great. Unfortunately at the moment I haven't even got a stable freevo box up let alone a devel box I could test it on. I would be a great addition to the upcoming release though, could you submit a feature request in the tracker [1] so that Adam doesn't miss this and we make sure it gets committed? Thanks, John [1] http://sourceforge.net/tracker/?group_id=46652&atid=446898 P.S. I've cross-posted this to the users list as I'm sure there'll be quite a few people there who'll be interested to see it. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel