import { playerContext } from "../../player/context.js";
import { PlayerController } from "../../player/player-controller.js";
import { MediaUIElement } from "../media-ui-element.js";
import { selectPlayback } from "@videojs/core/dom";
import { PosterCore, PosterDataAttrs } from "@videojs/core";

//#region src/ui/poster/poster-element.ts
var PosterElement = class extends MediaUIElement {
	constructor(..._args) {
		super(..._args);
		this.core = new PosterCore();
		this.stateAttrMap = PosterDataAttrs;
		this.mediaState = new PlayerController(this, playerContext, selectPlayback);
	}
	static {
		this.tagName = "media-poster";
	}
};

//#endregion
export { PosterElement };
//# sourceMappingURL=poster-element.js.map