I checked in a component which uses the jPlayer video player, into lps/components/av/html5/jplayerview.lzx
There is a test case that uses it in test/html5/appj.lzx The code in jplayerview is just copied from the earlier native HTML5 component I did (html5mediaview.lzx) so most of the methods still think they are talking to an HTML5 <video> element, so they are broken. Only play and pause are working at the moment. I need to add in the other methods and hook up as many events as I can to send LZX events. And we have to decide on the exact API for setting the media source; the jPlayer needs to know the encoding type, but has its own strange little set of choices which are not standard MIME types. So I'm working on how it should look to set the source or sources list. Stuff I am working on today: o Add current time event update o seek method (add arg to play?) o update duration o fullscreen method o onended event o onplaying event o onplay event o onpause event o onstop event o mute method o nail down setMedia (set src) o ensure width height working o seek events o flag to display native controls -- Henry Minsky Software Architect [email protected]
