@vnejs/plugins.core.media 0.1.2 → 0.1.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/modules/load.js +1 -1
- package/package.json +1 -1
package/modules/load.js
CHANGED
|
@@ -64,7 +64,7 @@ export class MediaLoad extends Module {
|
|
|
64
64
|
this.emit(this.EVENTS.LOGS.EMIT, { module: this.name, value: { action: "load start", mediaId, type, priority, isTmp } });
|
|
65
65
|
|
|
66
66
|
const ts = Math.round(new Date().getTime() / 1000 / 60 / 60);
|
|
67
|
-
const mediaRequest = await fetch(`${src}?ts=${ts}
|
|
67
|
+
const mediaRequest = await fetch(`${src}?ts=${ts}`);
|
|
68
68
|
const media = type === this.CONST.MEDIA.TYPES.VIDEO ? document.createElement("video") : new this.CONST.MEDIA.CONSTRUCTORS[type]();
|
|
69
69
|
|
|
70
70
|
media.setAttribute("type", type);
|