mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-25 17:45:03 +03:00
917e788271
Because we have some polyfills and blacklists that are specific to Safari and iOS, we need to detect specific versions of Safari and iOS. The existing detection of Safari/iOS versions was in multiple places, and did not account for non-Safari browsers on iOS. This refactor allows us to correctly detect iOS Chrome, and fixes a fatal exception thrown in the MediaSource polyfill for all non-Safari browsers on iOS. Change-Id: Ic88dc1a4c82087054cd4791dbf295b7ea2aeab09