[TIMOB-11840] iOS: UICompositeLayout - unable to launch movie from contentURL
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-11-21T17:29:09.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | qe-ios100112, regression |
Reporter | Olga Romero |
Assignee | Ingo Muschenetz |
Created | 2012-11-21T00:39:42.000+0000 |
Updated | 2014-06-19T12:42:54.000+0000 |
Description
While testig UICompositeLayout I was not able to launch a movie file.
*It is a regression, works in 2.1.4*
Test steps:
1. Run the code below:
var win = Ti.UI.currentWindow;
win.backgroundColor = 'white';
var label = Ti.UI.createLabel({
text: 'Pass if video fills the screen',
top: 40,
left: 10,
height: Ti.UI.SIZE,
width: Ti.UI.SIZE,
color: 'black'
});
var video = Ti.Media.createVideoPlayer({
contentURL: '../movie.mp4',
movieControlMode:Titanium.Media.VIDEO_CONTROL_FULLSCREEN,
scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL
});
video.add(label);
win.add(video);
video.play();
Note:
Please use an attached movie file.
Actual result:
No movie
Expected:
A movie should play successfully
Attachments
File | Date | Size |
---|---|---|
movie.mp4 | 2012-11-21T00:39:42.000+0000 | 2549211 |
contentUrl removed for 3.0. Use url property instead
closing as invalid per [~vduggal] comments