Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14850] iOS: Media.videoPlayer controls are placed incorrectly after switching to fullscreen from normal mode

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2013-08-19T17:36:52.000+0000
Affected Version/sRelease 3.1.1
Fix Version/sn/a
ComponentsiOS
LabelssupportTeam
ReporterRupesh Sharma
AssigneeIngo Muschenetz
Created2013-08-13T11:04:59.000+0000
Updated2017-03-22T22:10:17.000+0000

Description

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

Comments

  1. Ingo Muschenetz 2013-08-19

    Resolving as duplicate.
  2. Lee Morris 2017-03-22

    Closing ticket as duplicate and links to the related ticket have been provided above.

JSON Source