ThriveCommunityChurch / ThriveChurchOfficialApp

Official Repo for the Thrive Church Official App, only on iOS. Download now for free.

Home Page:http://thrive-fl.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AVPlayer Stops when closing the app and playing video

ksigWyatt opened this issue · comments

Acceptance

  • Continues to play sound from video even if the application is in the background or the device is locked
  • Does not require the user to swipe for media controls to re-enable audio playback
  • Re-entering the application also sees the playback continue from where it left off

After some research it appears as though this is done intentionally as per the privacy concerns from Apple and is designed to stop the playback of video on iOS for iPhone when a user locks the device or hits the home button. iPad supports PIP but the video floats above other content in order to be seen. However, I could transition the app to stream just the audio instead but this would require a significant change to how we do playbacks as well as how we post the videos online.

See: youtube/youtube-ios-player-helper#38

For now, I will be closing this issue until we either develop new processes or this action is easier on iOS.

This is also only a slight inconvenience for the user so I'm doubtful that this would make any significant impact in the user experience.