[TIMOB-4332] iOS: videoPlayer does not fire load event
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | Medium | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2011-10-27T15:44:18.000+0000 | 
| Affected Version/s | Release 1.7.0 | 
| Fix Version/s | Sprint 2011-26, Release 1.8.0 | 
| Components | iOS | 
| Labels | n/a | 
| Reporter | Jon Alter | 
| Assignee | Reggie Seagraves | 
| Created | 2011-06-06T13:52:22.000+0000 | 
| Updated | 2011-10-27T15:44:23.000+0000 | 
Description
	iOS videoPlayer does not fire a load event when the movie play loads. 
Step 1: run the code below
Step 2: notice that 'load' never fires
var win = Titanium.UI.createWindow();
var activeMovie = Titanium.Media.createVideoPlayer({
    contentURL: 'http://theatercrew.com/sample.mp4',
	autoplay: true
});
win.add(activeMovie);
win.open();
activeMovie.play();
activeMovie.addEventListener('load',function(){
    Ti.API.info('activeMovie.addEventListener(\'load\',function(){');
});
Is this to be cherry-picked back to 1.7.2? This still occurs with SDK 1.7.x r177ece80
Tested On: Mac OSX Lion TiMob: 1.8.0.v20110819142548 TiStud: 1.0.4.201108101535 Devices: iPhone 4 version 4.2.10 iPad2 version 4.3.5 iPod 3
Video may take upto 1 minute to load.