refactor: remove dead code

This commit is contained in:
Kamil Moskała
2026-03-25 16:20:05 +01:00
parent 7800719e90
commit 8e1a20a96a
@@ -95,15 +95,6 @@ export class WebEventEmitter implements VideoPlayerEventEmitterBase {
this._mediaCleanup = null;
}
/**
* Re-attach media listeners. Called when the video element might have changed.
* @internal
*/
reattach() {
this._mediaCleanup?.();
this._attachMediaListeners();
}
private _attachMediaListeners() {
const video = this.getMedia();
if (!video) return;