visualfries 0.1.8 → 0.1.801

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.
@@ -247,16 +247,6 @@ export class MediaHook {
247
247
  async #handleDestroy() {
248
248
  this.#destroyed = true;
249
249
  this.#lastTargetTime = null;
250
- // Release the media element back to the MediaManager
251
- if (this.#mediaElement) {
252
- const mediaType = this.#context.type === 'VIDEO' ? 'video' : 'audio';
253
- const source = this.#context.contextData.source;
254
- if (source && source.url) {
255
- this.mediaManager.releaseMediaElement(source.url, mediaType);
256
- }
257
- this.#context.removeResource(mediaType === 'video' ? 'videoElement' : 'audioElement');
258
- }
259
- this.#mediaElement = undefined;
260
250
  }
261
251
  async handle(type, context) {
262
252
  this.#context = context;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visualfries",
3
- "version": "0.1.8",
3
+ "version": "0.1.801",
4
4
  "license": "MIT",
5
5
  "author": "ContentFries",
6
6
  "repository": {