-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ios): amend TiMediaVideoPlayer parent controller #13011
Conversation
Tests:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FR: Failed
When showing the video player not-fullscreen, the video is wrongly displayed in the window's top-left corner instead.
You can reproduce the issue with the below. The video should be played within a 300x200 view in the center of the window (it has a blue border), but the video is wrongly shown in the top-left corner.
const window = Ti.UI.createWindow();
const videoView = Ti.Media.createVideoPlayer({
url: "https://raw.githubusercontent.com/appcelerator/titanium_mobile/master/tests/remote/mov_bbb.mp4",
autoplay: true,
borderWidth: "4dp",
borderColor: "blue",
width: "300dp",
height: "200dp",
});
window.add(videoView);
window.open();
a938b53
to
c0343dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR/FR: Pass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FR Pass. Original behaviour is restored, tests cases and sample from ticket all now function as expected.
JIRA:
https://jira.appcelerator.org/browse/TIMOB-28518
Summary:
Framed Video Test:
NavigationWindow Test:
TabGroup Test: