diff --git a/src/core/VideoPlayer.ts b/src/core/VideoPlayer.ts index 68c7a70..0211123 100644 --- a/src/core/VideoPlayer.ts +++ b/src/core/VideoPlayer.ts @@ -5,12 +5,13 @@ * creation: 21/4/2026 */ -import { PlayerConfig } from "../types/index"; +import { AdapterAPI, PlayerConfig } from "../types/index"; export class VP { - videoElement: HTMLElement | null; - videoSources?: NodeListOf; - config?: PlayerConfig; + private videoElement: HTMLElement | null; + private videoSources?: NodeListOf; + private config?: PlayerConfig; + private adapter?: AdapterAPI; /** * @param {string} video The targeted video element @@ -24,5 +25,6 @@ export class VP { this.videoElement = document.querySelector(video); } this.videoSources = this.videoElement?.querySelectorAll("source"); + let adapter = this.config["type"]; } }