[Laszlo-dev] Max: need help: pausing on the first frame doesn't work in swf9

Sarah Allen sarah at ultrasaurus.com
Thu Mar 19 13:09:21 PDT 2009


Hey Max,

This is getting close, but the stream create logic is really  
convoluted in swf9... hoping you can help untangle it.  cc'ing  
everyone, since that's what I've understood is the right process, but  
I think you know this odd sequence the best; however, other a/v  
experts chime in if you like...

Here's what I know:
1) if a method is called from init, it seems to show void(0) for a  
backtrace, but that in itself was a hint
2) I'm not sure that seek was ever fully tested... this bug looks to  
have been always there perhaps
      seek calls _createStream, but doesn't set the "playargs" so when  
_finishPlay is called it doesn't do the right thing

I can follow what is happening and see where it goes wrong, but not  
sure of the right approach to fixing it.  I'm available this afternoon  
if you want to work on it together.

Thanks,
Sarah

Change 20090318-sallen-L by sallen at sallen-mac on 2009-03-18 08:12:26 PDT
     in /Users/sarah/src/svn/openlaszlo/trunk-sandbox
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: improvements to videoplayer, WORK IN PROGRESS -- test-stream- 
video.lzx shows that it plays instead of pausing on the first frame in  
swf9

New Features: videoplayer will now by default show the first frame of  
the video
   new attributes: showframe, showtimedisplay, showvolumecontrol

Bugs Fixed: need to write these up!

Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:


Tests:
new test file: test-videoplayer-http

Files:
M      test/video/test-stream-video.lzx
M      test/video/test-video.lzx
M      test/video/list.html
M      lps/components/extensions/av/mediastream.lzx
M      lps/components/extensions/av/videoview.lzx
M      lps/components/av/videoplayer.lzx
M      lps/components/av/videoscreen.lzx
M      lps/components/av/videoslider.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090318-sallen-L.tar


More information about the Laszlo-dev mailing list