I've reviewed this, andthe code good with the exception on the videolibrary demo which didn't work for me. I think it is missing a readme or something to say how to set up your local server... also would be good to have an error saying it failed to connect!
I ran all the test files and in the following test files the "allow" button in the Flash Privacy dialog didn't do anything (Windows Firefox FP 9.0.16.0). I tried this w/ and w/o Don's changes so I'm going to check them in anyhow (minus the videolibrary demo), but I thought I would mention this oddness in case anyone could repro. Ben Shine could not (Mac, Firefox FP 9.0.20.0)
http://localhost:8080/trunk/test/video/test-microphone-recording.lzx?debug=true http://localhost:8080/trunk/test/video/test-multiple-videos.lzx?debug=true http://localhost:8080/trunk/test/video/test-recording.lzx?debug=true On Mon, Dec 25, 2006 at 1:46 AM, Don Hopkins wrote:
Change 20061225-dhopkins-bKD5uZ by [EMAIL PROTECTED] on 2006-12-25 01:38:57 PSTin /home/laszlo/trunk Summary: New Features: Added components: lps/components/av/videolibraryicon.lzx Icon for video clip, using still thumbnail image. lps/components/av/videoplayer.lzx Simple video player gui with time slider, play button, video screen, etc. lps/components/av/videotogglebutton.lzx Simple toggle button used for video play buttons and demos. lps/components/av/videoscreen.lzx Video screen that centers a videoview and maintains its aspect ratio inside a border with background color. lps/components/av/videoutils.lzx Video utility function. Currently only time to string conversion function. lps/components/av/videoslider.lzx Video time slider component. lps/components/av/videothumbnail.lzx Thumbnail for video clip, using single frame from streaming video server. lps/components/av/videovolumebutton.lzx Speaker button with pop-up user interface for changing the volume and toggling mute. lps/components/av/videolibrarypopup.lzx Popup component for displaying information about video. lps/components/av/resources/... Resources used by video components. Added demos: demos/videolibrary Streaming video library and recording demo. demos/youtube YouTube player demo. Added tests: tests/video/tests.html Index and descriptions of tests, and links to normal and debug versions of them. tests/video/test-camera-mona.lzx Test to demonstrate overlaying transparent png on top of live video. tests/video/resources/... Resources used by video tests. Bugs Fixed: test/video/test-video-rtmp.lzx Changed url for test video server to localhost. test/video/test-stream-video.lzx Changed url for test video to be relative. Changed playtime to time. test/video/test-video.lzx Changed url for test video to be relative. test/video/test-recording.lzx Changed url for test video server to localhost. Fixed mediastream type and url attributes. Fixed onclick handlers for buttons. Changed recordtime to time. test/video/test-stream-video-rtmp.lzx Changed playtime to time. Added resize="true" to text. test/video/test-stream-video-sep.lzx Changed url for test video to be relative. Changed playtime to time. Added resize="true" to text. lps/components/extensions/av/microphone.lzx Cleaned up and added comments. lps/components/extensions/av/camera.lzx Cleaned up comments. Removed call to vid.clear(). lps/components/extensions/av/mediastream.lzx Cleaned up comments. Added type setter, and _setType method. Added better autoplay support, with attributes: autoplayStart, autoplayPause, autoplayLen, autoplayReset. Added downloaded attribute to track download progress. Added rtmp attribute to specify rtmpconnection for mediastream. Added events for: ontype, oncuepoint, onplaystart, onplaystop, onrecordstart, onrecordstop, onmetadata. Fixed _publishSetup method handling of _flashstream.Fixed record method setting attributes. Fixed _updateRecordTime method to track only in record mode.Fixed stop method setting attributes. Added close method.Fixed _findnc to use rtmp attribute if defined. Added _flushnc method.Fixed _createStream to define Flash NetStream onCuePoint handler. Fixed _onStatus to handle more events and call new notifiers, with placeholders for common events. Added methods: _onCuePoint, _onPlayStart, _onPlayStop, _onRecordStart, _onRecordStop. Fixed _onPlayStatus to not do something I don't understand. Fixed _onMetaData to send event. Fixed play method to take more arguments for len and reset, set attributes, bullet proofing. Added handleAutoPlay method. Fixed _updatePlayTime method to track only in record mode, track downloaded amount, bullet proofing. Fixed pause method to track playing attribute. Added seek method.Fixed _setUrl method to clear streamname, bullet proofing. Added _setType method.Fixed _updateUrl method, bullet proofing. lps/components/extensions/av/mediadevice.lzx Cleaned up comments. lps/components/extensions/av/videoview.lzx Cleaned up comments. Fixed autoplay attribute setter _setAutoplay. Added attributes playvolume and _sound.Fixed init to make Flash Sound for volume control in _sound attribute, set volume, removed extra onurl sendEvent, call handleAutoPlay, attach audio to stream so we can control volume. Added setAttribute for width and height in _setPlayStream. Added _setPlayVolume method. Fixed _setAutoplay method, bulletproofing. Fixed _setStream method to set stream's autoplay attribute.lps/components/extensions/av/rtmpconnection.lzx Cleaned up comments. lps/components/av/rtmpstatus.lzx Cleaned up formatting. Technical Reviewer: (pending) QA Reviewer: (pending) Doc Reviewer: (pending) Documentation: Release Notes: Details: Tests: Files: M test/video/test-video-rtmp.lzx M test/video/test-camera-mute-multiple.lzx M test/video/test-live.lzx M test/video/test-stream-video.lzx M test/video/test-rtmpconnection.lzx M test/video/test-stream-video-rtmp-sep.lzx M test/video/test-video.lzx M test/video/test-live-echo.lzx A test/video/tests.html M test/video/test-recording.lzx M test/video/test-microphone-recording.lzx M test/video/test-stream-video-rtmp.lzx A test/video/test-camera-mona.lzx A test/video/resources A test/video/resources/mona_overlay.png M test/video/test-stream-video-sep.lzx M lps/components/extensions/av/microphone.lzx M lps/components/extensions/av/camera.lzx M lps/components/extensions/av/mediastream.lzx M lps/components/extensions/av/mediadevice.lzx M lps/components/extensions/av/videoview.lzx M lps/components/extensions/av/rtmpconnection.lzx A lps/components/av/videoplayer.lzx A lps/components/av/videotogglebutton.lzx A lps/components/av/videolibraryicon.lzx M lps/components/av/rtmpstatus.lzx A lps/components/av/videoscreen.lzx A lps/components/av/videoutils.lzx A lps/components/av/videoslider.lzx A lps/components/av/videothumbnail.lzx A lps/components/av/videovolumebutton.lzx A lps/components/av/resources/stop_btn_up.png A lps/components/av/resources/scroll_track.swf A lps/components/av/resources/volume_button_mo.png A lps/components/av/resources/volume_lines.png A lps/components/av/resources/record_btn_dn.png A lps/components/av/resources/scroll_lft_button_up.png A lps/components/av/resources/win_bot_mid.swf A lps/components/av/resources/vid_btn_dn.png A lps/components/av/resources/win_bot_lft.png A lps/components/av/resources/win_bot_rt.png A lps/components/av/resources/win_mid_rt.swf A lps/components/av/resources/volume_button_up.png A lps/components/av/resources/stop_btn_dn.png A lps/components/av/resources/cam_btn_selected.png A lps/components/av/resources/controls_cover.swf A lps/components/av/resources/scroll_lft_button_dn.png A lps/components/av/resources/volume_button_dn.png A lps/components/av/resources/win_top_mid.swf A lps/components/av/resources/win_top_rt.png A lps/components/av/resources/win_top_lft.png A lps/components/av/resources/scroll_thmb_lft.swf A lps/components/av/resources/scroll_rt_button_mo.png A lps/components/av/resources/audio_meter_under.png A lps/components/av/resources/play_button_mo.png A lps/components/av/resources/video_no_icon.gif A lps/components/av/resources/vid_btn_selected.png A lps/components/av/resources/cam_btn_mo.png A lps/components/av/resources/win_title.png A lps/components/av/resources/controls_well.swf A lps/components/av/resources/resize.png A lps/components/av/resources/volume_mute.png A lps/components/av/resources/scroll_rt_button_up.png A lps/components/av/resources/pause_button_mo.png A lps/components/av/resources/play_button_up.png A lps/components/av/resources/win_mid_lft.swf A lps/components/av/resources/cam_btn_up.png A lps/components/av/resources/pause_button_up.png A lps/components/av/resources/record_btn_mo.png A lps/components/av/resources/scroll_thmb_mid.swf A lps/components/av/resources/thumb.png A lps/components/av/resources/scroll_rt_button_dn.png A lps/components/av/resources/vid_btn_mo.png A lps/components/av/resources/play_button_dn.png A lps/components/av/resources/stop_btn_mo.png A lps/components/av/resources/cam_btn_dn.png A lps/components/av/resources/record_btn_up.png A lps/components/av/resources/audio_meter_over.png A lps/components/av/resources/scroll_thmb_rt.swf A lps/components/av/resources/pause_button_dn.png A lps/components/av/resources/scroll_lft_button_mo.png A lps/components/av/resources/vid_btn_up.png A lps/components/av/resources/win_mid_mid.swf A lps/components/av/videolibrarypopup.lzx A demos/videolibrary A demos/videolibrary/videolibrarybutton.lzx A demos/videolibrary/videolibraryplayer.lzx A demos/videolibrary/videocontrols.lzx A demos/videolibrary/videolibrary.jsp A demos/videolibrary/videolibrary.lzx A demos/videolibrary/videocamerabutton.lzx A demos/videolibrary/videolibrarypanel.lzx A demos/videolibrary/videos A demos/videolibrary/videos/good-dog.flv A demos/videolibrary/resources A demos/videolibrary/resources/stop_btn_up.png A demos/videolibrary/resources/vid_btn_selected.png A demos/videolibrary/resources/cam_btn_mo.png A demos/videolibrary/resources/controls_well.swf A demos/videolibrary/resources/record_btn_dn.png A demos/videolibrary/resources/vid_btn_dn.png A demos/videolibrary/resources/cam_btn_up.png A demos/videolibrary/resources/stop_btn_dn.png A demos/videolibrary/resources/audio_only_icon.png A demos/videolibrary/resources/cam_btn_selected.png A demos/videolibrary/resources/record_btn_mo.png A demos/videolibrary/resources/vid_btn_mo.png A demos/videolibrary/resources/stop_btn_mo.png A demos/videolibrary/resources/cam_btn_dn.png A demos/videolibrary/resources/record_btn_up.png A demos/videolibrary/resources/audio_no_icon.gif A demos/videolibrary/resources/audio_meter_over.png A demos/videolibrary/resources/vid_btn_up.png A demos/videolibrary/resources/audio_meter_under.png A demos/videolibrary/resources/video_no_icon.gif A demos/videolibrary/videocamerapanel.lzx A demos/videolibrary/videolibrarythumbnail.lzx A demos/youtube A demos/youtube/youtubeplayer.lzx A demos/youtube/youtube.jsp A demos/youtube/youtube.lzx A demos/youtube/resources A demos/youtube/resources/audio_only_icon.png
