[TIMOB-2249] iPad video player will not play after being paused
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-05-11T16:03:56.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.7.0, Sprint 2011-15 |
| Components | iOS |
| Labels | 3.2, defect, ios, ipad, klist, player, release-1.7.0, video |
| Reporter | ctredway |
| Assignee | Reggie Seagraves |
| Created | 2011-04-15T03:14:47.000+0000 |
| Updated | 2011-05-11T16:03:56.000+0000 |
Description
Problem
When a movie is paused outside the default controls the movie will not play again. Using the default controls still works.
Code
var win = Titanium.UI.createWindow({
title:'Win'
});
var player = Titanium.Media.createVideoPlayer({
contentURL:'ACCESSO_ANTERIORE_XVID.mp4',
scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL,
width:400,
height:300,
autoplay:false
});
var button = Ti.UI.createButton({
title:'Toggle',
height:60,
bottom:120
});
button.addEventListener('click',function()
{
if(player.playbackState==Titanium.Media.VIDEO_PLAYBACK_STATE_PLAYING){
player.pause();
}
else{
player.play();
}
});
win.add(player);
win.add(button);
win.open();
HD Ticket
http://developer.appcelerator.com/helpdesk/view/52221#c238621">http://developer.appcelerator.com/helpdesk/view/52221#c238621
Attachments
| File | Date | Size |
|---|---|---|
| app.js | 2011-04-15T13:48:08.000+0000 | 749 |
Another HD client has noticed this on iPhone as well, and I have reproduced. http://support-admin.appcelerator.com/display/GJW-66323-919
Here's an app.js to validate the fix.
No longer able to reproduce with iPad, iOS 4.3.2. Build 1.7.0.879871b. Closing