Permalink
Browse files

Don't load until play clicked, I think.

  • Loading branch information...
1 parent f3d542c commit 25aa7b76e1f1cf062200ff5a1556e19db1e967ff Matthew Somerville committed Oct 18, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 flex/main.mxml
  2. BIN www/docs/video/parlvid.swf
View
@@ -60,7 +60,6 @@ private function change_video(id:String, time:int):void {
private function init():void {
gid = Application.application.parameters.gid;
stamping = Application.application.parameters.stamping;
- change_video(Application.application.parameters.file, int(Application.application.parameters.start));
video.addEventListener('metadataReceived', video_onMetaData);
ExternalInterface.addCallback('currentTime', currentTime);
@@ -127,6 +126,9 @@ private function video_playheadUpdate():void {
private function video_play():void {
go.label = 'Now!';
go.styleName = 'nowStyle';
+ if (!videoSource) {
+ change_video(Application.application.parameters.file, int(Application.application.parameters.start));
+ }
video.play();
playing = true;
}
View
Binary file not shown.

0 comments on commit 25aa7b7

Please sign in to comment.