Page MenuHomePhabricator

Investigate and update videoJs library from using deprecated navigator.userAgent
Closed, ResolvedPublic

Description

Due to future changes highlighted in the parent task, we have to update our code to make sure that deprecated methods will no longer be used.

As highlighted by this search filter: code filter, the videoJs library uses the deprecated method in its wasm files and may need to be updated

The impact of this deprecation to the client is unknown and investigation is required as part of this ticket

Acceptance criteria

Investigate the impact of the method deprecation

  • Investigate if updated version of the library without deprecated code exist
  • if updated version are available, follow required step to update the used version
  • If updated version does not exist, define what consequences this may cause to user and share with PM

Event Timeline

kostajh claimed this task.
kostajh subscribed.

The pull request https://github.com/videojs/video.js/pull/7979 fixed the above issue, but in the 8.x release branch, and TimedMediaHandler uses [8.3.0](https://github.com/wikimedia/mediawiki-extensions-TimedMediaHandler/blob/master/package.json#L200 as of rETMHdc3bd512f35e: Update video.js to 8.3.0. So I am marking this task as resolved.