[TIMOB-28273] iOS: Unable to see MP4 videos on iPhone 11
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 9.0.0, Release 9.3.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Samir Mohammed |
Assignee | Unknown |
Created | 2020-12-04T15:25:03.000+0000 |
Updated | 2020-12-07T22:18:08.000+0000 |
Description
When playing an mp4 video with the following test case on devices (iphone 11) the video is not visible but the sound can be heard. On sims the video is playable.
var win = Ti.UI.createWindow({
backgroundColor: '#fff'
});
win.add(Ti.UI.createLabel({
text: '1. Let movie play through, then 2. press Play again', textAlign: 'center',
color: '#000',
height: 100, top: 0
}));
var video = Ti.Media.createVideoPlayer({
url: '/movie.mp4',
backgroundColor: '#111',
movieControlMode: Ti.Media.VIDEO_CONTROL_DEFAULT,
top: 100, bottom: 100,
autoplay: true
});
win.add(video);
var stop = Ti.UI.createButton({
title: '3. Press me to try to stop video',
height: 100, bottom: 0
});
stop.addEventListener('click', function (evt) {
video.stop();
});
win.add(stop);
win.open();
Attachments
File | Date | Size |
---|---|---|
movie.mp4 | 2020-12-04T15:25:01.000+0000 | 2549211 |
[~smohammed] I tried on iPhone 11 (14.2), 9.3.0 Xcode 12.2. It is working fine. I can see video as well. I am not sure if it is issue with your environment, may be Xcode beta issue. [~lchoudhary] [~ssekhri] Can you try at your end?
[~vijaysingh], I don't have iphone 11 but was not able to reproduce it on the iphone 7 (14.2) which I have with 9.3.0 RC & xcode 12.2. I also tried on iphone11 sim.