@loaders.gl/video 3.1.8 → 3.2.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dist.min.js CHANGED
@@ -479,7 +479,7 @@
479
479
  function workerCode() {
480
480
  const self = this;
481
481
  try {
482
- self.onmessage = function(ev) {
482
+ globalThis.onmessage = function(ev) {
483
483
  const data = ev.data || {};
484
484
  let response;
485
485
  if (data.gifshot) {
@@ -858,7 +858,7 @@ function workerCode() {
858
858
  var self = this;
859
859
 
860
860
  try {
861
- self.onmessage = function (ev) {
861
+ globalThis.onmessage = function (ev) {
862
862
  var data = ev.data || {};
863
863
  var response;
864
864