Fixes https://www.drupal.org/project/videojs/issues/3631764