Description
When opening a video in fullscreen, then switching to normal and back to fullscreen, controls are not placed correctly and a gap above the video controls bar is visible. The issue disappears as you rotate the screen.
Test Case
var videoURL = "somevideourl.mp4";
var win = Titanium.UI.createWindow({orientationModes: [Ti.UI.LANDSCAPE_LEFT, Ti.UI.LANDSCAPE_RIGHT], navBarHidden: true});
var activeMovie = Titanium.Media.createVideoPlayer({
url: videoURL,
backgroundColor: '#111',
mediaControlStyle: Titanium.Media.VIDEO_CONTROL_FULLSCREEN,
scalingMode: Titanium.Media.VIDEO_SCALING_MODE_FILL,
fullscreen: true,
});
win.add(activeMovie);
win.addEventListener('open', function() {
activeMovie.play();
});
win.open();
Please see the below screenshot for the issue :
https://www.evernote.com/shard/s13/sh/73750fc3-0019-4a58-b0d4-23fdeda822dc/8e6f05c10ea895367917700e3d190707
Resolving as duplicate.
Closing ticket as duplicate and links to the related ticket have been provided above.