videojs / video.js

Video.js - open source HTML5 video player
https://videojs.com
Other
38.12k stars 7.46k forks source link

Google Chrome User-Agent Deprecation #7572

Open hartman opened 2 years ago

hartman commented 2 years ago

Description

Google Chrome is changing the way it shares user-agents for increased privacy of users. You can read more about it here: https://www.chromestatus.com/feature/5704553745874944. Google Chrome has released Client Hints to provide device information.

  1. videojs uses navigator.userAgent for detection
  2. chrome will deprecate making this test break/unreliable
  3. videojs thus needs to adapt their tests to take this change into account.
mister-ben commented 2 years ago

Functionally I think this won't matter as we're not using information that will be removed. Still, worth getting ahead of this before they start logging deprecation warnings.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.