SRGSSR / srgletterbox-apple

The official SRG SSR media playback experience
https://srgssr.github.io/marketing/letterbox/
MIT License
14 stars 7 forks source link

Detaching the Letterbox view after restoring from PiP pauses playback #255

Open defagos opened 2 years ago

defagos commented 2 years ago

Playback might be paused when detaching the Letterbox view, most notably after PiP was enabled once. This seems related to iOS 15.

Issue type

Incorrect behavior

Environment information

Reproducibility

Always reproducible

Steps to reproduce

  1. Open some video in Letterbox demo (first tab, common medias).
  2. Send the app to the background (use the home button, not the PiP button which does not leave the app). PiP is automatically switched on.
  3. Restore from PiP.
  4. Detach the video with the corresponding demo toggle button. Playback is incorrectly paused.
defagos commented 2 years ago

No issue on iOS 13.7 either. This really seems to be an iOS 15 regression for which we cannot do much, except writing an Apple bug report.