microboard-temp 0.5.130 → 0.5.131

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.
@@ -41101,14 +41101,7 @@ class VideoItem extends BaseItem {
41101
41101
  return this.playBtnMbr;
41102
41102
  }
41103
41103
  setUrl(url) {
41104
- if (this.isStorageUrl) {
41105
- try {
41106
- const newUrl = new URL(url);
41107
- this.url = `${window.location.origin}${newUrl.pathname}`;
41108
- } catch (_) {}
41109
- } else {
41110
- this.url = url;
41111
- }
41104
+ this.url = url;
41112
41105
  }
41113
41106
  setPreview(image2) {
41114
41107
  this.preview = image2;
package/dist/cjs/index.js CHANGED
@@ -41101,14 +41101,7 @@ class VideoItem extends BaseItem {
41101
41101
  return this.playBtnMbr;
41102
41102
  }
41103
41103
  setUrl(url) {
41104
- if (this.isStorageUrl) {
41105
- try {
41106
- const newUrl = new URL(url);
41107
- this.url = `${window.location.origin}${newUrl.pathname}`;
41108
- } catch (_) {}
41109
- } else {
41110
- this.url = url;
41111
- }
41104
+ this.url = url;
41112
41105
  }
41113
41106
  setPreview(image2) {
41114
41107
  this.preview = image2;
package/dist/cjs/node.js CHANGED
@@ -43574,14 +43574,7 @@ class VideoItem extends BaseItem {
43574
43574
  return this.playBtnMbr;
43575
43575
  }
43576
43576
  setUrl(url) {
43577
- if (this.isStorageUrl) {
43578
- try {
43579
- const newUrl = new URL(url);
43580
- this.url = `${window.location.origin}${newUrl.pathname}`;
43581
- } catch (_) {}
43582
- } else {
43583
- this.url = url;
43584
- }
43577
+ this.url = url;
43585
43578
  }
43586
43579
  setPreview(image2) {
43587
43580
  this.preview = image2;
@@ -40947,14 +40947,7 @@ class VideoItem extends BaseItem {
40947
40947
  return this.playBtnMbr;
40948
40948
  }
40949
40949
  setUrl(url) {
40950
- if (this.isStorageUrl) {
40951
- try {
40952
- const newUrl = new URL(url);
40953
- this.url = `${window.location.origin}${newUrl.pathname}`;
40954
- } catch (_) {}
40955
- } else {
40956
- this.url = url;
40957
- }
40950
+ this.url = url;
40958
40951
  }
40959
40952
  setPreview(image2) {
40960
40953
  this.preview = image2;
package/dist/esm/index.js CHANGED
@@ -40940,14 +40940,7 @@ class VideoItem extends BaseItem {
40940
40940
  return this.playBtnMbr;
40941
40941
  }
40942
40942
  setUrl(url) {
40943
- if (this.isStorageUrl) {
40944
- try {
40945
- const newUrl = new URL(url);
40946
- this.url = `${window.location.origin}${newUrl.pathname}`;
40947
- } catch (_) {}
40948
- } else {
40949
- this.url = url;
40950
- }
40943
+ this.url = url;
40951
40944
  }
40952
40945
  setPreview(image2) {
40953
40946
  this.preview = image2;
package/dist/esm/node.js CHANGED
@@ -43408,14 +43408,7 @@ class VideoItem extends BaseItem {
43408
43408
  return this.playBtnMbr;
43409
43409
  }
43410
43410
  setUrl(url) {
43411
- if (this.isStorageUrl) {
43412
- try {
43413
- const newUrl = new URL(url);
43414
- this.url = `${window.location.origin}${newUrl.pathname}`;
43415
- } catch (_) {}
43416
- } else {
43417
- this.url = url;
43418
- }
43411
+ this.url = url;
43419
43412
  }
43420
43413
  setPreview(image2) {
43421
43414
  this.preview = image2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.130",
3
+ "version": "0.5.131",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",