Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4332] iOS: videoPlayer does not fire load event

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-10-27T15:44:18.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sSprint 2011-26, Release 1.8.0
ComponentsiOS
Labelsn/a
ReporterJon Alter
AssigneeReggie Seagraves
Created2011-06-06T13:52:22.000+0000
Updated2011-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(){');
});

Tested With

TiSDK 1.7.0.RC1 iOS 4.3

Associated Helpdesk Ticket

http://appc.me/c/APP-888114

Comments

  1. Eric Merriman 2011-07-06

    Is this to be cherry-picked back to 1.7.2? This still occurs with SDK 1.7.x r177ece80
  2. Vikramjeet Singh 2011-08-29

    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
  3. Vikramjeet Singh 2011-08-29

    Video may take upto 1 minute to load.

JSON Source