brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
16.76k stars 2.16k forks source link

Brave iOS - Youtube Videos Restarting #37940

Open Areckleh opened 2 weeks ago

Areckleh commented 2 weeks ago

Description:

Youtuber player in Brave iOS restarts to beginning of the video if the browser is exited (not closed), switching tabs, or if phone is put into lock. The video player will be the actual timecode when the video was interrupted due to the above but the video itself will start from the beginning and the video will appear to buffer or at least the UI will appear to show it's buffering. Even after refreshing the page multiple times or closing and opening the browser does not change anything the issue persists. Moving the video player scrubber does not change where the video will begin to play based on where it is placed on the timeline.

https://github.com/brave/brave-browser/assets/43886134/847cadcf-8d95-4d13-a59c-6f0291d52a48

Steps to Reproduce

  1. Open a Youtube video and let the video play for sometime
  2. Exit the browser, switch tabs or lock your phone
  3. Open the Youtube video and try to play again

Actual result:

Video beginning at 0:00 again everytime the browser or phone is closed down.

Expected result:

Video continues to play where it was interrupted or replay where last ended after refreshing.

Reproduces how often: [Easily reproduced, Intermittent Issue]

Easily reproduced everytime from v1.63-1.64

Brave Version: BraveCore iOS 1.64 (123)

Device details:

iPhone 13 Pro iOS 17.4.1

Website problems only:

Additional Information

soner-yuksel commented 2 weeks ago

I can not reproduce this behaviour at all, changing tabs or putting application background and coming back to tab that plays the video, the video indicator continues from where it was left.

If you kill the application entirely and switched it back on it is expected the video will start from 0:0. This means the application is killed entirely in OS.