Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28518] iOS: VideoPlayer fails to use correct parent controller

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2021-09-02T14:01:33.000+0000
Affected Version/sRelease 10.0.0
Fix Version/sRelease 10.1.0
ComponentsiOS
Labelscrash, ios, nappdrawer, regression, videoplayer
ReporterFrancisco Antonio Duran Ramirez
AssigneeGary Mathews
Created2021-07-23T21:25:08.000+0000
Updated2021-09-02T14:01:33.000+0000

Description

Comments

  1. Joshua Quick 2021-07-24

    I can reproduce this issue with Titanium 10.0.0 and 10.1.0. It's a regression caused by the following TiMediaViewPlayer.m code change made for ticket [TIMOB-27865]. https://github.com/appcelerator/titanium_mobile/pull/12233/files#diff-ed52f2ff82ca4a4a101ab5aed6ada19c3a9c56096bc49dc081215b71c31f4e7b The above code change was intended to fix the following warning that occurs when the video player enters/exits fullscreen mode.
       Warning: <AVPlayerViewController: 0x7fc445038e00> is trying to enter full screen, but is not in its view's window's view controller hierarchy. This results in undefined behavior.
       
  2. Joshua Quick 2021-08-10

    This issue was resolved by updating the NappDrawer module. A fork of it with this fix can be found here... https://github.com/mbender74/NappDrawer
  3. Gary Mathews 2021-08-10

    master: https://github.com/appcelerator/titanium_mobile/pull/13011

JSON Source